Recent Topics

1 Aug 06, 2014 10:50    

I'm having a strange problem in upgrading b2e. Every time I try to run install/index.php, script seems to stop running in the middle of the line that reads:

`if( !$DB->error )`

Specifically it seems to stop interpreting the line as PHP script after the "greater than" symbol, with the result that I get this type of output in my browser window. (See picture below text.)

Things it's not:

* At first I thought there might be an extraneous EOF or Ctrl-D or Ctrl-Z buried somewhere, but I have specifically tested for extraneous symbols that might throw it off. Can't find anything extraneous.

* Then I thought perhaps the size of the script was too big, so I increased the script memory limit to 256M in php.ini. No effect, and 256M ought to be more than enough for an installation script.

* Then I thought maybe a switch to php 5.4 instead of 5.2 might help. No difference.

BTW, I had run my 2.4.2 installation since 2008 with no difficulties. I'm only upgrading because my host will no longer support php 4. The database is already mysql 5. I've adjusted .htaccess to make sure it us using PHP 5.

I'm completely befuddled. Anyone have any ideas?

Don.

Here is a picture for illustration: http://shininghappypeople.net/doc/php-problem.png

2 Aug 07, 2014 06:46

Hi @deljr,

Strange indeed. It looks like something is wrong with the setup of the server.

Can you try a fresh install? I mean, a second database and a recently uploaded b2evo in a different folder in your server, just to test and make sure that the behavior is the same. Please try to avoid any customized .htaccess or php.ini files.

Regards!

3 Aug 11, 2014 08:25

The odd situation is now resolved. As part of my web hosts decision to abandon PHP4, they essentially disabled all scripting until one specified which version of PHP you wanted to work with from then on. So in effect each PHP script was being received by the browser as a text file, and then the browser tried to render it as html until something choked in the parsing of the page, which made it seem as if the script was running and then choking.


Form is loading...