Post by Saile » Fri Jan 03, 2014 6:17 am

Hi,

I recently installed a fresh version of Opencart 1.5.6 but uploaded only customers, products and orders from my old opencart 1.5.4.1. Of course, i had to make adjustments to the sql file.

The site seems to be running fine but i found this piled up in the error log over night.

Code: Select all

2014-01-02 8:18:10 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:18:10 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
2014-01-02 8:19:51 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:19:51 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
2014-01-02 8:21:17 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:21:17 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
2014-01-02 8:21:42 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:21:42 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
2014-01-02 8:22:39 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:22:39 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
2014-01-02 8:25:43 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:25:43 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
2014-01-02 8:27:06 - PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 22
2014-01-02 8:27:06 - PHP Notice:  Error: Subquery returns more than 1 row<br />Error No: 1242<br />SELECT DISTINCT *, (SELECT keyword FROM oc_url_alias WHERE query = 'product_id=702') AS keyword FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.product_id = '702' AND pd.language_id = '1' in /home/test/public_html/FRESH-BUILD/system/database/mysql.php on line 50
I am really not sure how to fix this one, any help would be appreciated.

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by cwswebdesign » Fri Jan 03, 2014 6:23 am

You probably need to add max_input_vars = 30000 (just an example) so that the data can be saved.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by Saile » Fri Jan 03, 2014 6:35 am

Thanks for your reply,

to be honest, i'm not sure where to put that exactly or anything. I'm not that great with all this.

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am

Post by cwswebdesign » Fri Jan 03, 2014 8:47 am

Once you're signed into FTP, you'll find a php.ini file in root (or in the subfolder if OC is installed there) and one in admin/php.ini

If you want help, feel free to email support@evolvewebhost.com and I can help you out.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by Saile » Sun Jan 05, 2014 10:19 am

Thanks for that, will keep your email in my contact list for future.

I didn't touch the php.ini file however just did a new installation and did very careful sql backup of customers and orders.

After 2 days and lots of testing, error log seems to remain clean.

I will be installing vqmod shortly and all the extensions required. Usually it's the extensions that fills up the error log....

Active Member

Posts

Joined
Thu Jan 19, 2012 8:19 am
Who is online

Users browsing this forum: No registered users and 29 guests