Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble oscommerce 2.2 on php 5.2.5


Ph0b0s

Recommended Posts

Posted
My server (www.a2hosting.com) last day updated the server to the version 5.2.5 of php. And now my stores show up like this:

 

http://www30.a2hosting.com/~ibcsetup/index.php

 

Seems like it's not respecting the CSS neither loading the images. Anyone know any issue known with php 5.2.5? Thanks in advance!

 

Base href is empty for a start, could be a few things.

 

includes/application_top.php

  $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

Doesn't seem to be working .. try ..

 

// set the type of request (secure or not)
//  $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

// set the type of request (secure or not)
 $request_type = (getenv('SERVER_PORT') == '443') ? 'SSL' : 'NONSSL';

 

Check PHP settings for: -

 

register_long_arrays = on

Posted

It solved the problem! Thanks so much for the help, really apreciated! ;)

 

Hope this topic helps other too :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...