Ubuntu problem

chrissdegrece | 11 months ago

I suspect there must be something strange happening with mod_rewrite because I see includes like:

src="/index.php/recess/recess/apps/tools/public/js/shCore.js">

But the webpage is totally white and nothing works.

Any suggestions?



KevBurnsJr | 11 months ago

At the top of bootstrap.php you should see

$_ENV['url.base'] = str_replace('bootstrap.php', '', $_SERVER['PHP_SELF']);

Apparently $_SERVER['PHP_SELF'] is resolving to /index.php/ instead of /

I've never run into that problem and I'm having trouble reproducing it.

Maybe try something other than PHP_SELF?

reply

Thomas | 11 months ago

I had a bit of the same problem:

On my web server (hosted by someone else) PHP_SELF wasn't returning '/' but 'home/sites/12345/www.webser.er/', so I had to modify this line also. Now, it's running fine.

There are quite some differences between servers, which is very frustrating. So by print_r()-ing the $_SERVER variable, you can see all the variables and try to pick a good one or modify one to get the correct value for url.base.

reply



Welcome KrisJordan!

Web: http://www.krisjordan.com/

Location: North Carolina

Edit Profile