Php Sites: Fix Errors Live

The aim of this project is to fix the source of many errors and warnings that appear in the error.log file and also when browsing.

Sites: www.nestoholic.com and www.nestolico.es
Linux, Php and MySQL, using Nestoria API. Hosted on a shared server (no root access).

Deadline (sites fixed live): Friday 7th May 2010 – 5pm London UK time

Attached nestoria.php (Nestoria API) + listings_uk.php

The budget agreed for this project will be fully paid once the project is finished, ie. errors/warnings identified and notified to us, fixed and live. If all tasks are not finished after the deadline, we will not make the payment.

Important:

-the sites are hosted on a shared server (no root access).
-we are sure the bug is in the code as we have migrated the sites to a different host with a different my.conf file and they still fail showing the same errors. We will not accept changes in my.conf file.
-the developer will have ssh and ftp access to the $Home of the sites.

————————————————————————————————————-

==Nestolico.es error_log

Error Messages: There are 94 different types of errors, but the most common ones are:

times error message
—– —————————————————————————————————————
19774 PHP Warning: Wrong parameter count for max() in /home/nestohol/public_html/nestolico.es/listings_es.php
on line 312
19774 PHP Warning: Invalid argument supplied for foreach() in /home/nestohol/public_html/nestolico.es/listings_es.php
on line 314
19774 PHP Warning: Invalid argument supplied for foreach() in /home/nestohol/public_html/nestolico.es/listings_es.php
on line 305
19082 PHP Warning: sort() expects parameter 1 to be array, null given in
/home/nestohol/public_html/nestolico.es/listings_es.php on line 295
19082 PHP Warning: array_merge() [<a href=’function.array-merge’>function.array-merge</a>]: Argument #2 is
not an array in /home/nestohol/public_html/nestolico.es/listings_es.php on line 297
692 PHP Warning: sort() expects parameter 1 to be array, null given in /home/nestohol/public_html/nestoli
co.es/listings_es.php on line 301
692 PHP Warning: Division by zero in /home/nestohol/public_html/nestolico.es/listings_es.php on line 339
685 PHP Warning: Wrong parameter count for max() in /home/nestohol/public_html/nestolico.es/listings_es.p
hp on line 1297
685 PHP Warning: Wrong parameter count for max() in /home/nestohol/public_html/nestolico.es/listings_es.p
hp on line 1277
685 PHP Warning: Invalid argument supplied for foreach() in /home/nestohol/public_html/nestolico.es/listi
ngs_es.php on line 1367
549 PHP Warning: Invalid argument supplied for foreach() in /home/nestohol/public_html/nestolico.es/listi
ngs_es.php on line 686
202 PHP Warning: mysql_select_db() [<a href=’function.mysql-select-db’>function.mysql-select-db</a>]: Access
denied for user ‘nestohol”localhost’ (using password: NO) in /home/nestohol/public_html/nestolico.es/con
nection.php on line 9
202 PHP Warning: mysql_select_db() [<a href=’function.mysql-select-db’>function.mysql-select-db</a>]: A l
ink to the server could not be established in /home/nestohol/public_html/nestolico.es/connection.php on line 9
202 PHP Warning: mysql_query() [<a href=’function.mysql-query’>function.mysql-query</a>]: Access denied f
or user ‘nestohol”localhost’ (using password: NO) in /home/nestohol/public_html/nestolico.es/listings_es.php
on line 29
202 PHP Warning: mysql_query() [<a href=’function.mysql-query’>function.mysql-query</a>]: A link to the s
erver could not be established in /home/nestohol/public_html/nestolico.es/listings_es.php on line 29
202 PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/nes
tohol/public_html/nestolico.es/listings_es.php on line 30
202 PHP Warning: mysql_connect() [<a href=’function.mysql-connect’>function.mysql-connect</a>]: User nest
ohol_nesto already has more than ‘max_user_connections’ active connections in /home/nestohol/public_html/nesto
lico.es/connection.php on line 8
200 PHP Warning: mysql_query() [<a href=’function.mysql-query’>function.mysql-query</a>]: Access denied f
or user ‘nestohol”localhost’ (using password: NO) in /home/nestohol/public_html/nestolico.es/listings_es.php
on line 65

The errors at the top of the list may happen due to wrong urls generated by crawlers.
MySQL “access denied” errors may be code bugs.

————————————————————————————————————-

==Nestolico.es error_log

Error Messages: There are 139 different types of errors, but the most common ones are:

times error message
—– —————————————————————————————————————
227 PHP Warning sort() expects parameter 1 to be array, null given in /home/nestohol/public_html/listings_uk.php on line 359
227 PHP Warning Wrong parameter count for max() in /home/nestohol/public_html/listings_uk.php on line 370
227 PHP Warning Invalid argument supplied for foreach() in /home/nestohol/public_html/listings_uk.php online 372
227 PHP Warning Invalid argument supplied for foreach() in /home/nestohol/public_html/listings_uk.php online 363
227 PHP Warning Division by zero in /home/nestohol/public_html/listings_uk.php on line 393
225 PHP Warning Wrong parameter count for max() in /home/nestohol/public_html/listings_uk.php on line 1349
225 PHP Warning Invalid argument supplied for foreach() in /home/nestohol/public_html/listings_uk.php online 1418
221 PHP Warning Wrong parameter count for max() in /home/nestohol/public_html/listings_uk.php on line 1333
213 PHP Warning mysql_select_db() [<a href=’function.mysql-select-db’>function.mysql-select-db</a>]: Access denied for user ‘nestohol”localhost’ (using password: NO) in /home/nestohol/public_html/connection.php on line 9
213 PHP Warning mysql_select_db() [<a href=’function.mysql-select-db’>function.mysql-select-db</a>]: A link to the server could not be established in /home/nestohol/public_html/connection.php on line 9
213 PHP Warning mysql_connect() [<a href=’function.mysql-connect’>function.mysql-connect</a>]: User nestohol_nesto already has more than ‘max_user_connections’ active connections in /home/nestohol/public_html/connection.php on line 8

‘max_user_connections’ error means that some processes might not kill the connections to the db properly.

————————————————————————————————————-

Leave a Reply

Your email address will not be published. Required fields are marked *