Recent Topics

1 Dec 04, 2012 23:09    

I just dont seem to be able to install b2 5a on my localhost.It breaks in the middle and doesnt complete.This also happened in 4.x but even if the install was not complete, the content was fine.This time with v5, the content is broke too.
That debug.php doesnt show anything at all.How do i find whats wrong ?
Apache Version : 2.2.21 PHP Version : 5.3.10

2 Dec 04, 2012 23:10

Btw about the forums, i cant upload file in first post (while creating the topic)
I double posted the file, and i cant remove attachments.
And also, cant upload when editing post.So i am gonna post another below.

5 Dec 05, 2012 01:56

What do you mean when you say it breaks during install?

Does it stop at the point of your screenshot without any additional error message?

Can you enable display of error messages in your php.ini?

Can you look into your apache error log to find the PHP error?

6 Dec 05, 2012 09:20

Yes it does get stuck in same step "creating sample posts".

unfortunately i dont get any php or apache error :| i tried upgrading php to 5.10.13 and apache to 2.2.2 but it didnt help either

7 Dec 05, 2012 21:12

In cases like that, generally there is a PHP error but the server is configured to not show it for "security pruposes".

Alternatively, you can poke into the installer, search for "creating sample posts" and add "echo "123";" around the zone where you think the error may happen and it will help you narrow it down.

8 Dec 06, 2012 00:14

@fplanque wrote:

In cases like that, generally there is a PHP error but the server is configured to not show it for "security pruposes".

Alternatively, you can poke into the installer, search for "creating sample posts" and add "echo "123";" around the zone where you think the error may happen and it will help you narrow it down.

Nope nothing like that, like i said it's on my localhost, and i have display errors, startup erros track all etc etc.. But no errors there, no php error, no apache error, no nothing.I will of course find my way around, i just wanted other people not to suffer.
I'll look into it and post back if i find a solution

9 Dec 06, 2012 05:16

@fplanque wrote:

Alternatively, you can poke into the installer, search for "creating sample posts" and add "echo "123";" around the zone where you think the error may happen and it will help you narrow it down.

Yep, that's the easiest way to debug someone else's code.

Does the installer work if you choose not to install demo content?

10 Dec 06, 2012 13:51

Yup it did complete without any problems.It has something to do with sample content creation.

@sam2kb wrote:

Does the installer work if you choose not to install demo content?

11 Dec 06, 2012 14:00

@fplanque wrote:

Alternatively, you can poke into the installer, search for "creating sample posts" and add "echo "123";" around the zone where you think the error may happen and it will help you narrow it down.

Where am i supposed to insert those echos ? How does that debug.php help anyway ?

OT: Is it the best idea to include a phpinfo file under install/ ? I mean as dangerous as it is to keep the install dir, i know that a lot of people just rename it to ins54tall or something instead of deleting it.

12 Dec 06, 2012 16:31

I just made a brand new 4.1.6 install and here is where it got stuck.

So, it goes a little further in 4.x, and stops earlier in 5.x.Therefore i guess it may have something to do with a timeout setting.It seems the sample data is getting bigger isnt it ?

13 Dec 06, 2012 16:47

How long before timeout?

What's your max memory setting for PHP?

14 Dec 06, 2012 17:04

@fplanque wrote:

How long before timeout?

What's your max memory setting for PHP?

Ok, figured.It was not memory issue.it was max_execution_time . The default was 30, i increased it to 180 and did two more installs, one took --45 secs, the other took around --90.

PS: what's with the special characters ? i used a tilde and it got converted.

15 Dec 06, 2012 17:20

@tilqicom wrote:

Ok, figured.It was not memory issue.it was max_execution_time . The default was 30, i increased it to 180 and did two more installs, one took --45 secs, the other took around --90.

PS: what's with the special characters ? i used a tilde and it got converted.

PHP *does* throw an error when max_execution_time is reached. Your system probably does not display all error/warning messages.

I don't understand what you mean with i used a tilde and it got converted. ~

16 Dec 06, 2012 17:27

It does show and record php erros, i've double checked.Hope it helps someone else if they encounter such problem.it was definitely max_input_time or max_execution_time.
~strange, tilde did not get converted this time :P

@fplanque wrote:

PHP *does* throw an error when max_execution_time is reached. Your system probably does not display all error/warning messages.

I don't understand what you mean with i used a tilde and it got converted. ~


Form is loading...