Re: Re: PHP error on my site after transfer to another hosting
| From: | EyeLand | Date: | Sun, 22 Dec 2013 20:49:42 +0000 |
| Subject: | Re: Re: PHP error on my site after transfer to another hosting | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322600@lists.php.net to get a copy of this message | ||
look there the code of these files:
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
2013/12/22 Jim Giner <jim.giner@albanyhandball.com>:
> 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.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>