Author |
Message |
ruffleader
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 01, 2003
Posts: 10
|
Posted:
Sat Oct 04, 2003 3:04 pm |
|
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 ?? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 4:00 pm |
|
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 ??? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat Oct 04, 2003 4:11 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 4:40 pm |
|
cheers, from what i have been through onit it looks like just what i need and looks really good, thanks again |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
porcupinepc
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/computerguy.gif)
Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA
|
Posted:
Sat Oct 04, 2003 4:57 pm |
|
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 |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:01 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:04 pm |
|
it gives me some of the options liek the size of files, my folder url though it replicates it over and over |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 09, 2003
Posts: 165
|
Posted:
Sat Oct 04, 2003 5:04 pm |
|
looks to me like a folder permission problem check your chmod settings to make sure it is the same as what the installation requires |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:13 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:16 pm |
|
Start by making them all 775 then go to 777 would be my guess. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:19 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
porcupinepc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:31 pm |
|
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
www.porcupinepc.com/forums |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:32 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:32 pm |
|
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
www.porcupinepc.com/forums | This exists. I think it's at http://portedmods.com, but I can't remember for sure. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:38 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fury
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:41 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:42 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 5:45 pm |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
porcupinepc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 6:31 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 04, 2003 6:39 pm |
|
That's how they do most of their modifications. You edit code. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 05, 2003 6:07 am |
|
where abouts on the ported mods site is this File Attachment Mod 2 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ruffleader
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 05, 2003 6:47 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|