PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Old August 26th, 2004, 06:38 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 31
Problems getting Reviewpost to work fully without these UID permission errs

Hi,

I have moved my web to another linux server and the installation seems to go well but theres a permissions problem I cannot figure out. I get these errors at the top of the page when I click ADMIN when I am at the user index. I own the whole server and root access but this should have installed cleanly and no issues. It looks like the script might be trying to size up folders it has no business worrying about but I could be wrong. That part of the script around line 18 or so looks like its trying to feel around folders.

ANy idea how I can fix this ?? I really appreciate it. I have been bangin on this for 8 hours.

Thanks,
Doug

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access /var/www/html owned by uid 0 in /home/virtual/site4/fst/var/www/html/reviews/adm-main.php on line 18

Warning: opendir(/var/www/html/reviews/data/): failed to open dir: No such file or directory in /home/virtual/site4/fst/var/www/html/reviews/adm-main.php on line 18

Warning: readdir(): supplied argument is not a valid Directory resource in /home/virtual/site4/fst/var/www/html/reviews/adm-main.php on line 20

Warning: closedir(): supplied argument is not a valid Directory resource in /home/virtual/site4/fst/var/www/html/reviews/adm-main.php on line 28
LittleBrother is offline   Reply With Quote
Old August 26th, 2004, 09:06 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Looks to me for one you have safe mode on when we list on our installation and prepurchase instructions safe mode needs to be off

Also seems you have the path statement in the config incorrect

You most likely have /var/www/html/reviews

when it should be

/home/virtual/site4/fst/var/www/html/reviews
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 26th, 2004, 09:22 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 31
Thanks Omegatron, I will go try that and look. I could not find reference to that on the installation instructions on the site.
http://www.reviewpost.com/installphp.html

But I will go look again. I appreciate the quick response. I guess my problem may not be UIDs and ownership afterall?

Thanks
Doug
LittleBrother is offline   Reply With Quote
Old August 26th, 2004, 09:23 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 31
Oops I see where you mean now. I will turn off safe mode and see
http://www.reviewpost.com/requirephp.html
LittleBrother is offline   Reply With Quote
Old August 26th, 2004, 09:33 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 31
I ran phpinfo and it says I have safe mode on locally but it says master value is off. So I am sorta wondering where I can disable it. I own the whole server and root. I saw php.ini but most of these settings appear disabled in there. From what I can tell. Is there a specific place to change this and can I do it and still be secure?

Any advice?

Thanks
Doug
LittleBrother is offline   Reply With Quote
Old August 26th, 2004, 10:37 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Look in the httpd.conf
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 26th, 2004, 11:09 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 31
I did. In fact I think I found that file in more than one place and I dont even see it in there. I did find at least 4-5 php.ini files down the tree from root and all along the way down to my web. All of them have it set to OFF.

I guess I'll keep swinging. Most posts on the internet and by support give advice but not where to determine the exact file location. Even from the folks that provide my server. So I appreciate it. You can answer that but I will keep trying.

LittleBrother is offline   Reply With Quote
Old August 27th, 2004, 12:05 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
well the php.ini for your particular domain is listed right in a phpinfo file you call up
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 27th, 2004, 03:44 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2004
Posts: 31
This is what worked......FYI none of the other would.

Here is how to turn off safe_mode in php for 1 domain
vi /etc/httpd/conf/siteXX/safemode
where 'siteXX' is the domain's site number.
"sitelookup -d domain.com" to get site number
in that file type this line:
php_admin_flag safe_mode off
now restart apache
/etc/init.d/httpd restart

Thanks
LittleBrother is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conversion ubbt -> vb, whatīs withe the UIDīs flint Photopost Pro Installation & Upgrades 1 July 1st, 2005 05:43 PM
Ho wo I make the WYSIWYG fully functional Geiri Photopost Pro How Do I...? 9 March 5th, 2005 12:06 AM


All times are GMT -5. The time now is 06:13 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0