Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Improved Random Block problems
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
Cakepro

Beginner
Beginner


Joined: Apr 15, 2003
Posts: 15

PostPosted: Tue May 06, 2003 8:16 am    Post subject: Reply with quote

Hello ~

Does this provide any illumination into my random block problem?



Thanks,
Sherri
Back to top
Offline View user's profile Send private message
AdBot
   Post subject:  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue May 06, 2003 1:37 pm    Post subject: Reply with quote

is the bdweb10636e your username? if so, that's the problem; since gallery needs the albums directory to be readable by the webserver username (usually apache or web or something along those lines).
Back to top
Offline View user's profile Send private message Visit poster's website
Cakepro

Beginner
Beginner


Joined: Apr 15, 2003
Posts: 15

PostPosted: Tue May 06, 2003 5:22 pm    Post subject: Reply with quote

No, that's not my user name...apparently it's the webserver's.

So do I substitute their user name for my own?

~ Sherri
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue May 06, 2003 6:50 pm    Post subject: Reply with quote

hmm...ok, can you post the code from the block-random.php file that corresponds to the five or six lines I posted earlier in this thread, along with the top couple of lines in the random_support.php file? I want to make sure that you've got everything set up right.
Back to top
Offline View user's profile Send private message Visit poster's website
Cakepro

Beginner
Beginner


Joined: Apr 15, 2003
Posts: 15

PostPosted: Wed May 07, 2003 2:15 am    Post subject: Reply with quote

From random-support.php:


From block-random.php


I didn't make any changes, and the bdweb9982p is my user name, not the webserver's.

Thank you,
Sherri
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed May 07, 2003 7:21 am    Post subject: Reply with quote

hmmm...so bdweb9982p is your username. are you sure that bdweb10636e is the webserver user (that's an unusual name for apache to run under)? I'm guessing that bdweb106336e is another user (did someone else initially create the albums?) and not the webserver. you might want to ask your host if they can change the owner of the albums directory to the webserver user and see if that clears things up.
Back to top
Offline View user's profile Send private message Visit poster's website
Cakepro

Beginner
Beginner


Joined: Apr 15, 2003
Posts: 15

PostPosted: Wed May 07, 2003 2:59 pm    Post subject: Reply with quote

The web host said it was a configuration error and it has been corrected. Now it shows that my user name is the owner of all files, folders, directories in my site. The random block still doesn't work, though. I called again and asked if they could change the album permissions to reflect that the web host is the owner, and they told me that they are running Apache and modsu exec (I have no idea what he was talking about but he said you should know) and therefore by default everything in our website shows that I am the owner.

Does that help or further muddle things?

~ Sherri
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed May 07, 2003 3:18 pm    Post subject: Reply with quote

mod_suexec....dang, now i wish i had brushed up on my apache admin stuff...let me dig around and i'll see what i can do.
Back to top
Offline View user's profile Send private message Visit poster's website
Cakepro

Beginner
Beginner


Joined: Apr 15, 2003
Posts: 15

PostPosted: Fri May 16, 2003 12:51 am    Post subject: Reply with quote

Anything yet?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Fri May 16, 2003 6:32 am    Post subject: Reply with quote

yeah, after some digging, mod_suexec basically allows scripts to run under a different userid than the webserver (http://httpd.apache.org/docs/suexec.html). but i'm not sure how this is relevant in the land of directory permissions and such...you may want to ask for clarification from your host (i'm not doing a virtual host setup on my machine, so suexec is not an issue for me).
Back to top
Offline View user's profile Send private message Visit poster's website
Cakepro

Beginner
Beginner


Joined: Apr 15, 2003
Posts: 15

PostPosted: Fri May 16, 2003 11:50 am    Post subject: Reply with quote

Well, I've gone as far as I can with this. Thanks.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia