LetItFLow Posted March 13, 2006 Posted March 13, 2006 well here is there deal my host has the older version of oscommerce we got it installed had 2 errors at the top 1 was to delete the install folder because of security reasons and the other was to change permissions the .ini i think it was anyway we got those errors fixed and now im still getting error on the bottom of the main catalog page of Warning: session_write_close(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in I:\inetpub\vhosts\testsite.com\httpdocs\oscommerce\includes\functions\sessions.php on line 106 testsite being a example also when ya make a new customer account im getting 4 errors but it still makes the account and shows me account was made in the admin panel but when i log in the catalog and try to buy item and add to cart its not showing the item going to the cart here are the errors from the login Warning: mail(): SMTP server response: 501 5.5.4 Syntax error in parameters scanning in I:\inetpub\vhosts\testsite.com\httpdocs\oscommerce\includes\classes\email.php on line 502 Warning: Cannot modify header information - headers already sent by (output started at I:\inetpub\vhosts\testsite.com\httpdocs\oscommerce\includes\classes\email.php:502) in I:\inetpub\vhosts\.testsitecom\httpdocs\oscommerce\includes\functions\general.php on line 29 Warning: session_write_close(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in I:\inetpub\vhosts\testsite.com\httpdocs\oscommerce\includes\functions\sessions.php on line 106 Testsite.com being a example then under the admin panel in Reports i see error under best produts purchased but i think that will dissapear when im able to put first order in and then under Customers order totals it has the same error and this error is 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1 select p.products_id, p.products_ordered, pd.products_name from products p, products_description pd where pd.products_id = p.products_id and pd.language_id = '1' and p.products_ordered > 0 group by pd.products_id order by p.products_ordered DESC, pd.products_name limit -20, 20 but i think the errors under reports will fix when i make first order also i deleted all manufactuers out of the list before adding my name and it went to the same error that is under reports and took away the add button to put my name in anyone know how to fix this error is this 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1 select p.products_id, p.products_ordered, pd.products_name from products p, products_description pd where pd.products_id = p.products_id and pd.language_id = '1' and p.products_ordered > 0 group by pd.products_id order by p.products_ordered DESC, pd.products_name limit -20, 20 so what is the best way to fix this all up or should i just delete the older version and try to install the newest but my host told me lets try fix the older copy first please if anyone can help me out i would very very much appreciate it im way off track of opening my store
LetItFLow Posted March 13, 2006 Author Posted March 13, 2006 can all these errors be from globals being set to off and turning it on will fix it all ?
Guest Posted March 13, 2006 Posted March 13, 2006 Yes. You would do far better to install the latest version of osCommerce..... and perhaps ask your host to switch you over to a Linux/Apache server - much less headaches :-" Matti
LetItFLow Posted March 13, 2006 Author Posted March 13, 2006 thanks for insight i went ahead and got yet another host this host is linux so hopeing i will have some better luck
Recommended Posts
Archived
This topic is now archived and is closed to further replies.