I think I can solve alot of the errors if I could change the user that is ruuning the site like instead of nobody I wanna use vhosts. I got an error when I tried to edit the members images area.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/vhosts/wwwroot/showyour.com/photoswap/classes/database.php on line 108
I also go an error whe I tried to add an image to a comment on a post:
Warning: Illegal offset type in /home/vhosts/wwwroot/showyour.com/photoswap/classes/category.php on line 70
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/vhosts/wwwroot/showyour.com/photoswap/classes/database.php on line 94
Is there just a way to run as user "vhosts" instead of "nobody"? I don't think it's going to be major debugging. I can set it in Server CP to run as "nobody" but then alot of other stuff starts to go nuts since "nobody" does not have the correct permissions. Notice the watermark.png I uploaded is user and group nobody. I think this where my watermarking issues are coming from (it's all about permissions).
Putting PHP in safe mode should make it run as your FTP user, I believe, but I've no idea if that's "vhosts". That doesn't matter and has nothing to do with anything here though. I obviously can't help you if you ignore my post and refuse to post the debug.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Few errors
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
I think I can solve alot of the errors if I could change the user that is ruuning the site like instead of nobody I wanna use vhosts. I got an error when I tried to edit the members images area.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/vhosts/wwwroot/showyour.com/photoswap/classes/database.php on line 108
I also go an error whe I tried to add an image to a comment on a post:
Warning: Illegal offset type in /home/vhosts/wwwroot/showyour.com/photoswap/classes/category.php on line 70
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/vhosts/wwwroot/showyour.com/photoswap/classes/database.php on line 94
Anu ideas?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
scripts.webmastersite.net/w...gallery/manual/articles/66
Experienced
Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Comments: 55
Is there just a way to run as user "vhosts" instead of "nobody"? I don't think it's going to be major debugging. I can set it in Server CP to run as "nobody" but then alot of other stuff starts to go nuts since "nobody" does not have the correct permissions. Notice the watermark.png I uploaded is user and group nobody. I think this where my watermarking issues are coming from (it's all about permissions).
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Putting PHP in safe mode should make it run as your FTP user, I believe, but I've no idea if that's "vhosts". That doesn't matter and has nothing to do with anything here though. I obviously can't help you if you ignore my post and refuse to post the debug.