Author |
|
Biopod
Joined: 22 May 2006 Posts: 4 Location: Scotland
|
Posted: Thu 25 May '06 16:10 Post subject: apache server problem with php error message |
|
|
Hi guys, a total newbie here!
I currently use Apache 2.2.2, php5,mysql5 running on WinxpSP2. Not long ago I started wondering why my site wasn't indexing with any search engines, and found that when i tried to input it into google rankings. i got an error message reading -
Warning: Invalid argument supplied for foreach() in /home/wwwuser/passive_sites/4q2.com/gabor/msndroid_sql.php on line 119
(that is one of the errors messages that didn't contain an adult site!)
I have no adult material on my pc as it is used soley for mine and my friends site, and dont understand why this is happening. i have tried modifying my security (thanxs to Steffen's great tips) but still to no avail. i am very new to php and have a feeling it might not be set up properly. I am so stuck, Can any1 please help.
Admin note:
Please change the Topic header to a meaningful, specific subject header.
See the forum rules.
Last edited by Biopod on Thu 25 May '06 21:22; edited 1 time in total |
|
Back to top |
|
eblah
Joined: 16 Feb 2006 Posts: 5
|
Posted: Thu 25 May '06 16:17 Post subject: |
|
|
Where did you get that error? |
|
Back to top |
|
Biopod
Joined: 22 May 2006 Posts: 4 Location: Scotland
|
Posted: Thu 25 May '06 16:33 Post subject: |
|
|
Hi eblah, Thanx for getting back so quickly!
i got the error when inputing my url into www.googlerankings.com/index.php
the error message changes each time
When i looked up my php ini on line 119 it says
; - allow_call_time_pass_reference = Off [Code cleanliness]
i hope that is what you ment |
|
Back to top |
|
eblah
Joined: 16 Feb 2006 Posts: 5
|
Posted: Thu 25 May '06 16:55 Post subject: |
|
|
I imagine it is an issue with their site. |
|
Back to top |
|
Biopod
Joined: 22 May 2006 Posts: 4 Location: Scotland
|
Posted: Thu 25 May '06 17:34 Post subject: |
|
|
i thought of that one previously, and took their site off the server but still recieved the error message. i tried to deduct all possible flaws b4 addressing the forum.
i also checked their site on google rankings and it said exactly the same. thats why i think it is something im not doin on the server.
i have seen similar messages when searchin the 'Warning: Invalid argument supplied for foreach()' on the engines when trying to find the cause, and it nearly always ends up a fault within their php ini file. None of these listed any adult sites in their error message though.
It is very confusing an frustrating as i feel ive covered most avenues |
|
Back to top |
|
eblah
Joined: 16 Feb 2006 Posts: 5
|
Posted: Thu 25 May '06 17:40 Post subject: |
|
|
How long have you had the domain/site? |
|
Back to top |
|
Biopod
Joined: 22 May 2006 Posts: 4 Location: Scotland
|
Posted: Thu 25 May '06 18:00 Post subject: |
|
|
since Dec 2005 not that long really!
ive asked every1 I no and they have no clue. |
|
Back to top |
|