You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 128 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - My_eGallery, php nuke 6.5, category creation error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Mon Mar 17, 2003 10:59 pm Reply with quoteBack to top

whenever i try to create a category using my_egallery, i put in the name of the folder that any uploaded images should be stored in (i tried absolute path, as well as a relative folder path..), yet eGallery keeps reporting that it's unable to create the folder, and i should check write permissions...

well, i have the folder for submissions set to /absolutepathblahblah/html/files/sub_images

phpnuke 6.5 is what i'm trying out (i currently have 6 for my site), so i have 6.5 in /absolutepathblahblah/html/nukebeta

would the fact that the images folder is *above* the nuke folder, cause a problem with egallery?

i was assuming that when i put in the folder name to be created for a specific category, that the folder would be created under /sub_images, so i set sub_images to 777 permission..

any idea what the issue is?
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
Drayc
Nuke Cadet
Nuke Cadet


Joined: Mar 12, 2003
Posts: 1


PostPosted: Tue Mar 18, 2003 2:02 am Reply with quoteBack to top

I have been having this same problem. I have done about 5 fresh installs. The only way I can get it to work is by manually creating the categories in the database itself ;-/.

Drayc-
Find all posts by DraycView user's profileSend private message
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 2:09 am Reply with quoteBack to top

well, i finally realized that i too had to manually add the sql tables, but i'm still unable to add categories due to the write permission... i think i have an idea of what the problem is tho, i'll post if i figure it out
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 2:25 am Reply with quoteBack to top

OMG

okay, i finally realized the directory you put into the config menu is only for submitted images.. i was thinking that was the default img dir

anyways, so then i chmod'ed the /modules/My_eGallery/gallery to 777, goto create a Category, put in the name of what i want the folder to be called, and click submit

it STILL says it was unable to create the directory... the catch is, it created the directory just fine... anyways, it's working now, but if some1 could tell me why the hell it's giving the wrong message, lol, i would appreciate it (btw, if i go back, and submit again, it then tells me the dir already exists, lmao)
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 2:32 am Reply with quoteBack to top

Confused Evil or Very Mad

okay, i dunno wtf the deal is, and sry about posting so much, but check this out:

Quote:
Warning: SAFE MODE Restriction in effect. The script whose uid is 567 is not allowed to access modules/My_eGallery/gallery/counterstrike owned by uid 48 in /home/virtual/site45/fst/var/www/html/nukebeta/admin/modules/gallery/index.php on line 133

Warning: readdir(): supplied argument is not a valid Directory resource in /home/virtual/site45/fst/var/www/html/nukebeta/admin/modules/gallery/index.php on line 135


yeah, i do have safe mode on (not by choice), but what the heck is the deal with that? OTHER scripts are able to read from specified directories with no problem.. also, the Art directory shows up with no problem, and the new directories are properly chmodded at 777 (by the script..)
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Tue Mar 18, 2003 10:11 am Reply with quoteBack to top

safe mode is a pain in the Rainbow Brite sometimes. It can do some weird things with error messages. Just contact ur web host and ask them nicely to disable it.

AI
Find all posts by ArtificialIntelView user's profileSend private message
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 3:35 pm Reply with quoteBack to top

thx for replying AI

does anyone have any idea tho what the gallery script does with the user-created categories, that is different from how it handles the default Art category?

it just seems ridiculous that i have Upload scripts on my site, file recurse scripts, scripts to move files, rename files, etc etc, and a *GALLERY* can't work around freakin safe mode...

btw, i believe i contacted my host about safe mode awhile back, and i think they didn't want to turn it off..
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Mar 18, 2003 3:45 pm Reply with quoteBack to top

Scripts cannot create folders while php is running in safe mode.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 4:09 pm Reply with quoteBack to top

but it *did* create folders... if i refreshed an ftp view of the gallery folder, the sub folders WERE created... so i dunno what the deal is that it can create folders yet can't work with them...

also, keep in mind, the SAFE MODE error that i got was just when i went to the categories admin screen to *view* the categories, it wasn't when i created the folders...
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Mar 18, 2003 4:24 pm Reply with quoteBack to top

Remove the folder that got created, make it yourself via ftp, chmod it to 777 then go to the gallery`s admin section and attempt to create the category again.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 6:55 pm Reply with quoteBack to top

i tried that, but it just tells me that the directory already exists..
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 7:04 pm Reply with quoteBack to top

okay, i just tried to create a Sub-Category in the Art category, told it to create the folder 'test'

Quote:
Warning: SAFE MODE Restriction in effect. The script whose uid is 567 is not allowed to access /home/virtual/site45/fst/var/www/html/nukebeta/modules/My_eGallery/gallery/Art/test owned by uid 48 in /home/virtual/site45/fst/var/www/html/nukebeta/admin/modules/gallery/index.php on line 312


showed up at the top of my theme, and it told me it could not create the category, yet i look in the Art category (ftp), and the 'test' folder is there... weird...
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Tue Mar 18, 2003 11:48 pm Reply with quoteBack to top

update: my host turned off Safe Mode for me, still same errors...

i'm still emailing them trying to figure out if they really DID turn it off, or just changed a setting...
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
intel352
Lieutenant
Lieutenant


Joined: Mar 11, 2003
Posts: 180


PostPosted: Wed Mar 19, 2003 1:41 am Reply with quoteBack to top

YES!! my host rules

they had to manually edit a specific file for my domain, and now it works!! wheeeeee
Find all posts by intel352View user's profileSend private messageVisit poster's websiteICQ Number
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Mar 19, 2003 5:53 am Reply with quoteBack to top

It helps when ones host provider is willing to listen. Razz

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.224 Seconds - 265 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::