PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 3:04 pm Reply with quote Back to top

i own a sig site now and i am inserting a file uploader to the site.

i do not wish for the files to be saved to the database though from the owner i have been told to make the link change and upload to the directory he used to use.

here is the current coding:

# the upload store directory (chmod 777)
$dir = "store";

how do i alter this to have it to save this on the webpage ??
View user's profile Send private message
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 4:00 pm Reply with quote Back to top

or could anyone point me in the direction of a uploader that will allow me to upload to a site directory base function instead of my site database ???
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 4:11 pm Reply with quote Back to top

I haven't actually tried this yet, although I have it downloaded. See if this is what you're after
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 4:40 pm Reply with quote Back to top

cheers, from what i have been through onit it looks like just what i need and looks really good, thanks again
View user's profile Send private message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Sat Oct 04, 2003 4:57 pm Reply with quote Back to top

I just downloaded the same file and am getting the following error. Obviously i have some files in the wrong place. I have modules in modules etc. Appreciate any help. Here's the error im getting:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10209 is not allowed to access /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads owned by uid 0 in /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads/index.php on line 218

Warning: opendir(modules/My_Uploads/user_folders/joerobertson): failed to open dir: No such file or directory in /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads/index.php on line 218

Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads/index.php on line 220

Account Summary:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10209 is not allowed to access /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads owned by uid 0 in /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads/index.php on line 98

Warning: opendir(modules/My_Uploads/user_folders/joerobertson): failed to open dir: No such file or directory in /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads/index.php on line 98

Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/psa/home/vhosts/porcupinepc.com/httpdocs/forums/modules/My_Uploads/index.php on line 101


Regards

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 5:01 pm Reply with quote Back to top

mine might be the same aint sure though here is what i got out:

File Name File Size Delete Rename

Warning: opendir(): open_basedir restriction in effect. File(/modules/My_Uploads/user_folders/ruffleader) is not within the allowed path(s): (/home/innovat:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 218

Warning: opendir(/modules/My_Uploads/user_folders/ruffleader): failed to open dir: Operation not permitted in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 218

Warning: readdir(): supplied argument is not a valid Directory resource in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 220
You have no uploaded files!






Account Summary:

Warning: opendir(): open_basedir restriction in effect. File(/modules/My_Uploads/user_folders/ruffleader) is not within the allowed path(s): (/home/innovat:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 98

Warning: opendir(/modules/My_Uploads/user_folders/ruffleader): failed to open dir: Operation not permitted in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 98

Warning: readdir(): supplied argument is not a valid Directory resource in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 101
View user's profile Send private message
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 5:04 pm Reply with quote Back to top

it gives me some of the options liek the size of files, my folder url though it replicates it over and over
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 5:04 pm Reply with quote Back to top

looks to me like a folder permission problem check your chmod settings to make sure it is the same as what the installation requires
View user's profile Send private message
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 5:13 pm Reply with quote Back to top

the coding from what i have read doesnt mention anything about the chmod settings, there aint a readme or install file with the program either
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 5:16 pm Reply with quote Back to top

Start by making them all 775 then go to 777 would be my guess.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 5:19 pm Reply with quote Back to top

nope, nothing happens i had already tried that, i am trying to get in contact with the maker and find out if he knows the problem as this seems a very good thing to use with allowing the user a certain amount of space along with his own folder with work
View user's profile Send private message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Sat Oct 04, 2003 5:31 pm Reply with quote Back to top

It would have been nice to have a readme file attached. It would be nice to get this going. I am also looking for a decent program to enable my users to upload images to their messages in the forums. I have a "Trading Post" that i operate.

Joe
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 5:32 pm Reply with quote Back to top

I installed it on the test site and i am going to see if i can get it to work and i will post here any findings
thanks
Fury
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 5:32 pm Reply with quote Back to top

porcupinepc wrote:
It would have been nice to have a readme file attached. It would be nice to get this going. I am also looking for a decent program to enable my users to upload images to their messages in the forums. I have a "Trading Post" that i operate.

Joe
Only registered users can see links on this board!
Get registered or login to the forums!
This exists. I think it's at
Only registered users can see links on this board!
Get registered or login to the forums!
but I can't remember for sure.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 5:38 pm Reply with quote Back to top

ok i found out what has happened on the first error
Code:
Warning: opendir(): open_basedir restriction in effect. File(/modules/My_Uploads/user_folders/ruffleader) is not within the allowed path(s): (/home/innovat:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/innovat/public_html/thesigsite/modules/My_Uploads/index.php on line 218

It is not allowing to create a directory with the usersname i created one by hand and it worked and the error went away.
working on the second and third errors now.
Thanks
Fury
View user's profile Send private message
fury
Worker
Worker


Joined: Sep 09, 2003
Posts: 165

PostPosted: Sat Oct 04, 2003 5:41 pm Reply with quote Back to top

ok that has fixed it all from what i see you must have read and write access all the way thru to the modules directory

Modules 775
My_Uploads 775
user_folders 777
Your named folder 777

this is what i could only come up with hopefully someone else knows more and posts.
thanks
Fury
View user's profile Send private message
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sat Oct 04, 2003 5:42 pm Reply with quote Back to top

right so just add a folder for each user and that should solve the first problem yeah and also thanks for the help fury very grateful
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 5:45 pm Reply with quote Back to top

Raven wrote:
Start by making them all 775 then go to 777 would be my guess.
Just for clarification, that is what I was suggesting here. Ruff, you said you tried it and it didn't work?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Sat Oct 04, 2003 6:31 pm Reply with quote Back to top

Yes, i created a directory and it seems ok now.

Also, regarding the "File Attachment Mod 2". I downloaded it from Portedmods. The only thing is there is alot of code to edit. Im a little nervous editing as im scared to screw up the board. Its a slow process.We'll see.

Joe
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Oct 04, 2003 6:39 pm Reply with quote Back to top

That's how they do most of their modifications. You edit code.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sun Oct 05, 2003 6:07 am Reply with quote Back to top

where abouts on the ported mods site is this File Attachment Mod 2
View user's profile Send private message
ruffleader
New Member
New Member


Joined: Oct 01, 2003
Posts: 10

PostPosted: Sun Oct 05, 2003 6:47 am Reply with quote Back to top

well i have got mine now fully working, thanks for your help.

i found that after i added the folders and change the chmod on the folders things seemed to load partly better.

after this in the main admin section the upload folder section said /modules/my_uploads/user_uploads/

so i took out the ' / ' before modules and everything seemed to work after that.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum