ihaveaquestion Posted March 27, 2006 Posted March 27, 2006 After loggin into the admin panel i can reach the registered clients, but i cannot access the ORDERS.After entering the page in the MENU there is new client,and new orders, but after i click on the ORDERS' link ACCEPTED ..i get this annoying thing: 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 o.orders_id, o.customers_name, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.orders_status = s.orders_status_id and s.language_id = '4' and s.orders_status_id = '1' and ot.class = 'ot_total' order by o.orders_id DESC limit -20, 20 [TEP STOP] The second problem is that i cannot add the new images, because there is written i do not have the images folder MENU SHOP: On the top i have something like that: Błąd: The folder images does not exist: /home/account1/public_html/shop/images/ REVIEW: statement: Review Product RaTING Date of adding Working 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 reviews_id, products_id, date_added, last_modified, reviews_rating from reviews order by date_added DESC limit -20, 20 [TEP STOP] PROMOTIONS: statement: Promotions Product Price State Working 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, pd.products_name, p.products_price, s.specials_id, s.specials_new_products_price, s.specials_date_added, s.specials_last_modified, s.expires_date, s.date_status_change, s.status from products p, specials s, products_description pd where p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = s.products_id order by pd.products_name limit -20, 20 [TEP STOP] AWAITING PRODUCTS: statement: Awaiting products Product Entering date Working 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 pd.products_id, pd.products_name, p.products_date_available from products_description pd, products p where p.products_id = pd.products_id and p.products_date_available != '' and pd.language_id = '4' order by p.products_date_available DESC limit -20, 20 [TEP STOP] MAIN PAGE: statement: Main page TEXT_FILE_DOES_NOT_EXIST TOOLS: Error: Archive directory does not exist. Set it in the configure.php file. Language definition english.php Warning: dir(/home/mynewlive/public_html/shop/includes/languages/english): failed to open dir: No such file or directory in /home/mynewlive/domains/mynewlive.com/public_html/shop/admin/define_language.php on line 152 Files manager /home/account1/public_html/shop/ Warning: dir(/home/mynewlive/public_html/shop/): failed to open dir: No such file or directory in /home/account1/domains/mynewlive.com/public_html/shop/admin/file_manager.php on line 178 Fatal error: Call to a member function on a non-object in /home/account1/domains/mynewlive.com/public_html/shop/admin/file_manager.php on line 179 Help me please i do not know how to fix that :-(
eko Posted March 27, 2006 Posted March 27, 2006 hey there i dont wana be mean or annoying but just seach the error codes in the forums you should get results quickly :thumbsup:
Guest Posted March 27, 2006 Posted March 27, 2006 fix at the end of the page http://www.oscommerce.com/community/bugs,1605 or install the latest osc upgrade http://www.oscommerce.com/solutions/downloads
Recommended Posts
Archived
This topic is now archived and is closed to further replies.