Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hostway - more problems!!!


stankovski

Recommended Posts

Posted

Having successfuly installed and run my site on Hostway shared server for couple days, this morning I was faced with the following Error message:

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

trying to login (login.sphp), using SSL.

 

I made sure that register_globals was ON in php.ini and that all that crap with with ssl-mime was correct in .htaccess (I also changed all secure-accessed files from .php to .sphp and their definitions in application_top.php)

 

I have no idea what the problem is. :( I haven't changed anything and now nothing works. Furthermore, I've installed the latest 2.2 distribution and it has the same problem.

http://www.harmoniouslifestyles.com/testgr...log/default.php

 

PLEASE, SOMEBODY HELP!!!

I need to have my site up and running ASAP :(

Denis Stankovski

----------------------

http://www.harmoniouslifestyles.com

Posted

Customer service of Hostway (my hosting) did something on the server and now I do not get that FATAL ERROR (which is good).

 

However now I get another error trying to login in secure mode:

Fatal error: Call to a member function on a non-object in /home/www/harmoniouslifestyles/testground/catalog/catalog/includes/application_top.php on line 279

Try going to https://id284.securedata.net/harmoniouslife...da9d5618a450c76 (that's not the main site, but a tester)

 

Code in catalog/includes/application_top.php on line 279 is:

268:// navigation history

269:  if (tep_session_is_registered('navigation')) {

270:    if (PHP_VERSION < 4) {

271:      $broken_navigation = $navigation;

272:      $navigation = new navigationHistory;

273:      $navigation->unserialize($broken_navigation);

274:    }

275:  } else {

276:    tep_session_register('navigation');

277:    $navigation = new navigationHistory;

278:  }

279:  $navigation->add_current_page();

 

I would really appreciate if somebody could help me.

Denis Stankovski

----------------------

http://www.harmoniouslifestyles.com

Posted

Our site suddenly quit working correctly as well.

Produces the same error from application_top as yours.

It worked fine until Wednesday afternoon. Then, Boom!

 

I finally had to turn off SSL until we either move hosts are solve the problem.

 

Sorry I couldn't be of more help.

Posted

I'm trying to install osCommerce for the first time on the live webserver, and I'm getting the exact same error as you. Using latest CVS version, web server is Apache 1.3.26 with PHP4.2.2. The install process worked without a problem, all the tables were created and populated with data, but when it finishes and gives the links to "Catalog"and "Admin"they simply do not work.

 

The very first time I went to the main Catalog page, it worked mostly, except it gave the message "Unable to determine the page link!" at the bottom of the page.

 

Every time I've loaded any part of osCommerce catalog since then, it gives the "line 279"error as mentioned above.

 

I also get this one when I try to access admin:

Fatal error: input in flex scanner failed in /home/user/www/catalog/admin/includes/languages/english on line 1

 

admin/includes/languages/english is a directory, not a file, so I don't know why it's trying to read line 1...

 

I was able to install & use osCommerce locally just fine (on OS/2 e-business server), but it seems I'm doing something wrong on this server. I tried changing the setting of STORE_SESSIONS and it didn't have any effect on it. SSL is disabled.

Posted

Woops, fixed it. The stupid register_globals must be set to ON. I always write PHPwith it set to OFF, so the whole site was set to OFF as well :)

 

I rm'd the whole oscommerce installation, set register_globals to ON and started over, now it's working..

  • 6 months later...
Posted

Since so 3 days ago I have this Problem.

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;c:apachephppear') in c:apachehtdocscatalogincludesapplication_top.php on line 276

 

He can't find the language I think because it just stops at .../.php and not on ../english.php or german.php

 

If I solve the problem I'll post it.

(there is nothing wrong with the php.ini)

Posted
Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;c:apachephppear') in c:apachehtdocscatalogincludesapplication_top.php on line 276

 

Looks to me like the Define File in your application top (prolly around line 276) you'll find that your missing a file name there.. Or, there is a space between the name and the .php

 

Good luck

Archived

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

×
×
  • Create New...