PDA

View Full Version : Sudden 'fetch_array' and 'header information' errors....


kidleethal
03-22-2007, 11:59 AM
Hi,

I have had pixelpost (in various versions) running for about a year now, with absolutely no problems.

Yesterday morning when I attempted to log into admin, these errors appear at the top of the page, before the normal page content:


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/decoycon/public_html/photo/includes/functions.php on line 334

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/decoycon/public_html/photo/includes/functions.php on line 381

Warning: Cannot modify header information - headers already sent by (output started at /home/decoycon/public_html/photo/includes/functions.php:334) in /home/decoycon/public_html/photo/admin/index.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/decoycon/public_html/photo/includes/functions.php:334) in /home/decoycon/public_html/photo/admin/index.php on line 163

Warning: Cannot modify header information - headers already sent by (output started at /home/decoycon/public_html/photo/includes/functions.php:334) in /home/decoycon/public_html/photo/admin/index.php on line 164

I did a forum search, and it seems the advice was that there might be line breaks in the .php files. However, I have since down a complete reinstall of Pixelpost 1.5, and the problem persists.

I have checked through phpMyadmin and the database is in perfect health.

Here is a link if you want to see the PHP info: http://www.decoy.co.nz/photo/info.php

I can only think this has something to do with the host server side?

If anyone has any ideas on what might be the cause, and more importantly the solution, please let me know!

Thanks,

Lee

jaywilliams
03-22-2007, 02:16 PM
First make sure that your database username/password/prefix is correctly entered in the /includes/pixelpost.php file.

kidleethal
03-22-2007, 10:10 PM
Hi Jay,

Thanks for the reply. The database path and password are set correctly in the pixelpost.php file. I copied and pasted the settings from my old pixelpost.php file, and just went and double-checked it now.

Could it be that the path to the server has been changed by my provider? I asked them but they said no.

It really has me stumped! :(

Thanks in advance for any help,

Lee

jaywilliams
03-23-2007, 12:11 AM
I just checked your site, and it looks like everything is working fine.

BTW, your template is AWESOME! The little javascript animation here and there really add class!

Great job!

kidleethal
03-23-2007, 02:48 AM
Hey Jay,

Thanks for the heads-up! I just checked the site, and pixelpost admin and it seems to be working fine???

That's probably the most random thing that's happened to me all week.

Thanks for the compliments about the template :) I owe it all to spring vacation at my teaching job....

Thanks again for your help!

Lee