WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Few errors
Error

Version: 2.3.6
printPrint


Few errors
eric0524
Experienced

Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Posts: 55
Posted 07/23/06 - 03:07 PM:
quote post
#1
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?



----------------------------
www.saltwatersportswear.com - the largest selection of t-shirts
www.showyour.com/photoswap
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6023
Posted 07/24/06 - 10:00 AM:
quote post
#2
http://scripts.webmastersite.net/wsngallery/manua...

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
eric0524
Experienced

Usergroup: Member
Joined: Jun 11, 2006
Total Topics: 15
Total Posts: 55
Posted 11/19/06 - 12:02 PM:
quote post
#3
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:
nobody.jpg
(87 KB, 29 downloads)
attachment

----------------------------
www.saltwatersportswear.com - the largest selection of t-shirts
www.showyour.com/photoswap
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6023
Posted 11/19/06 - 12:52 PM:
quote post
#4
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.

Edited by Paul on 11/19/06 - 12:59 PM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.