Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 5, 2008 - Time to Submit Your Links for the August 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 20, 2008, 04:58:40 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: OsCommerce gone haywire overnight  (Read 683 times)
melligator
Newbie
*
Offline Offline

Posts: 4


« on: January 14, 2008, 11:53:14 AM »

http://store.gnpcrescend.com

No changes have been made to this site in some time - today it's all frakked up. Anyone else having issues?
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 7271



WWW
« Reply #1 on: January 14, 2008, 12:05:05 PM »

Hello, I would suggest contacting support@lunarpages.com for help with this issue.  From what I can tell from the forums here it doesn't look like that domain name is registered:

http://whois.domaintools.com/gnpcrescend.com
Logged

melligator
Newbie
*
Offline Offline

Posts: 4


« Reply #2 on: January 14, 2008, 12:48:30 PM »

lol oops... gnpcrescendo.com - nice typo!

I have an open ticket but no response yet. Was wondering if anyone else was having sessions/language issues today, as far as I can tell that's the issue.
Logged
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3201



« Reply #3 on: January 14, 2008, 02:19:26 PM »

What kind of error are you getting? The Home Page you gave comes up fine for me. Have you tried refreshing the browser (clear the cache or force a reload of the page with Ctrl-F5). Does the error come up deeper into the site?

Did LP report doing any upgrades to your server recently? PHP or MySQL upgrade? With PHP, it's a common problem to have trouble when register global variables are turned off (LP seems to be turning them off on all the servers). The older versions of osC (pre RC1) depend on them, so you may need to turn them back on in your php.ini file. If MySQL was just upgraded to version 5, you'll get some "column not found" (1054) errors due to a change in precedence levels. It can be fixed by editing a few of the osC PHP source files.
Logged

melligator
Newbie
*
Offline Offline

Posts: 4


« Reply #4 on: January 14, 2008, 03:33:55 PM »

The homepage will display fine first time, but try to click anything and see what happens. The issue appears to be related to the default language/sessions and/or that old chestnut, register_globals.

Still nothing from tech support and it's been 4 hours. This weekend was a busy one for orders and I'm starting to get cranky about the site being unusable!
« Last Edit: January 14, 2008, 03:36:20 PM by melligator » Logged
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3201



« Reply #5 on: January 14, 2008, 04:30:21 PM »

OK, when I click on the shopping cart, I get a number of errors starting with

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/gnpcre2/public_html/store/includes/application_top.php on line 299

This appears to be the code lines

if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) {
      ...
    $language = $lng->language['directory'];
    $languages_id = $lng->language['id'];
  }

  // include the language translations
  require(DIR_WS_LANGUAGES . $language . '.php');


where $language isn't being set for some reason. Have you tried turning register globals on, to see if that makes any difference? If LP just turned off register globals on your server, that definitely will break osC if you're not already at 2.2 RC1 (the latest).

Logged

melligator
Newbie
*
Offline Offline

Posts: 4


« Reply #6 on: January 15, 2008, 11:46:54 AM »

They did switch register_globals, and overnight they edited my php.ini and all is well with the world once more.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM