Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trippintees

Archived
  • Posts

    19
  • Joined

  • Last visited

Everything posted by trippintees

  1. I get the same error and I have removed the reference number. Anybody have any ideas what could be causing this? Any help would be appreciated.
  2. Thanks for the help! Yep that file was jacked up. So I don't get the file error anymore but still dealing with the sql error. I will just roll back to an earlier version. Thanks everyone for the assistance.
  3. That is my admin application_top.php. Yes the language file is loaded and the session directory is set. Permissions are 777 :huh:
  4. It started to work fine again. It has something to do with when someone places an item in their cart. That's when I get the sql error.
  5. I really think it may be because my sessions do not get deleted. osc gas yet to delete a single one. Any ideas?
  6. This is 109 - 130. I am not using safe URLs. // set the HTTP GET parameters manually if search_engine_friendly_urls is enabled if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') { if (strlen(getenv('PATH_INFO')) > 1) { $GET_array = array(); $PHP_SELF = str_replace(getenv('PATH_INFO'), '', $PHP_SELF); $vars = explode('/', substr(getenv('PATH_INFO'), 1)); for ($i=0, $n=sizeof($vars); $i<$n; $i++) { if (strpos($vars[$i], '[]')) { $GET_array[substr($vars[$i], 0, -2)][] = $vars[$i+1]; } else { $HTTP_GET_VARS[$vars[$i]] = $vars[$i+1]; } $i++; } if (sizeof($GET_array) > 0) { while (list($key, $value) = each($GET_array)) { $HTTP_GET_VARS[$key] = $value; } } } } BTW, this error occurs rarely but I still get... Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/trippint/public_html/admin/includes/functions/database.php on line 45 0 - select time_entry, time_last_click from whos_online where session_id='306c2f10e7139c467ea7a5ad375a7adb' [TEP STOP] nearly every time. Thanks for the help!!
  7. Sorry to be such a pain. OK I did as instructed and it worked! But only for about 15 minutes, then I started getting this. Warning: main(includes/languages/false): failed to open stream: No such file or directory in /home/trippint/public_html/admin/includes/application_top.php on line 130 Warning: main(includes/languages/false): failed to open stream: No such file or directory in /home/trippint/public_html/admin/includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/false' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/trippint/public_html/admin/includes/application_top.php on line 130 I closed the browser and tried again an got the same error as in my previous post. Closed and re-opened the browser several time and then it started working again. For about 5 minutes and then the errors popped up again. I did look in my sessions folder and noticed that none of the sessions had been deleted and it had been more than 30 minutes since the first one was created. Tried deleting them but it did not help. Thanks for your help guys. :blink:
  8. I placed it in the catalog/includes/functions/ directory. Should it be one up?
  9. Sure Session Directory /home/trippint/tmp/ Force Cookie Use False Check SSL Session ID True Check User Agent False Check IP Address False Prevent Spider Sessions True Recreate Session True Table customer_id int(11) Yes NULL full_name varchar(64) No session_id varchar(128) No ip_address varchar(15) No time_entry varchar(14) No time_last_click varchar(14) No last_page_url varchar(64) No http_referer varchar(255) No user_agent varchar(255) No Both configs are currently 'mysql' but I have tried both set at '' Thanks!
  10. Yes, I have tried both set as files and both set as mysql. Like I said whichever way I set it up it will work properly for the first few minutes and then return the error. It is almost like the session get too old and are not deleted or someone puts something in the cart and it causes the error. Can't figure it out. :blink:
  11. This contrib looks like very cool, but I keep getting the same error as mentioned in others post. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/trippint/public_html/admin/includes/functions/database.php on line 45 0 - select value from sessions WHERE sesskey = '74013b4dc1a6Td3d97dfca075961d452' I tried mysql and files, made sure the the path was direct and waited a couple dof days. Even deleted old session from the folder. Read through the thread, changed settings in Config > Sessions, No luck. It will work properly for a short while and then give the error. Also, I noticed that when I had storage-sessions set to '' or files, the sessions where not being deleted. I had a few that where a day or so old. Could that have something to do with it? Any help would be appreciated. : Thanks!
  12. Is there any way to edit stock.php so that the quantities can go negative if I make a sale when my inventory for a particular item / attribute is at zero? Any help would be most appreciated Thanks
×
×
  • Create New...