Re: PHP error on my site after transfer to another hosting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/22/2013 3:36 PM, Jim Giner wrote:
On 12/22/2013 3:32 PM, EyeLand wrote:
Hello,
1) I transfer my site from old to new hosting with new version of PHP,
but on new hosting I receive next errors:

[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Warning:
extract() expects parameter 2 to be long, string given in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 19
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: apartments_title in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 23
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: apartments_title in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 41
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: rooms in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 53
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: rooms in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 61
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Warning:
Invalid argument supplied for foreach() in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 61
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: rooms in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 87
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Warning:
Invalid argument supplied for foreach() in
/var/www/h1678/data/www/lounge.md/data/content/index.php on line 87
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Warning:
extract() expects parameter 2 to be long, string given in
/var/www/h1678/data/www/lounge.md/data/content/_design.php on line 13
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Warning:
extract() expects parameter 2 to be long, string given in
/var/www/h1678/data/www/lounge.md/data/content/_design.php on line 14
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: l_poweredbytitle in
/var/www/h1678/data/www/lounge.md/data/content/_design.php on line 51
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: l_poweredbytext in
/var/www/h1678/data/www/lounge.md/data/content/_design.php on line 59
[Sun Dec 22 23:22:32 2013] [error] [client 212.28.68.139] PHP Notice:
Undefined variable: title_total in
/var/www/h1678/data/www/lounge.md/data/content/_design.php on line 179

2) there is index.php file:
https://gist.github.com/eyeland/8b471bf7ca9f6f3f76a7#file-index-php
3) there is _design.php file:
https://gist.github.com/eyeland/26f3b57fb3b8d271beef#file-_design-php

Can you consult? Thank you!

First - go to one of the files with an error, find the line # cited and
show us the code that is there if you haven't figured it out by then.
Quick sugg - change the include to Require and turn on error checking.

And as a freebie - your first error is cause you put a constant in quotes, thus making it a string, not an integer. Don't know why it didn't fail before.....

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux