Hi there!
I've uploaded my already finished project work, developed on linux-apache server to a client-commercial server and all I can see now are various warnings where PHP-based statements should appear... can anybody help me with that? I got no root rights on the server, so I can't change the ini. file via ssh... also redeveloping my codes is rather unfavourable... thanx for your help
floh
PHP warnings
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /hardbcbi/www.hardbulls.com/verwaltung/team/list.php on line 55
as I said, it worked perfectly on my devoloping server, and I found out that the client server has warnings turned on in it's php.ini and I can't change it via ssh, because I got no root....
as I said, it worked perfectly on my devoloping server, and I found out that the client server has warnings turned on in it's php.ini and I can't change it via ssh, because I got no root....
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Even if you turned error reporting off it wouldn't do much good as the error is indicating there is something wrong with your connection to the database server, the selection of the database to use or the query being used.
Is the database setup on the live server in exactly the same way as it is on the development server?
You probably need to add some error handling to the database connection and querying functions so that you can work out what exactly is causing the error and fix it.
Mac
Is the database setup on the live server in exactly the same way as it is on the development server?
You probably need to add some error handling to the database connection and querying functions so that you can work out what exactly is causing the error and fix it.
Mac