News:

Wondering if this will always be free?  See why free is better.

Main Menu

Cannot upload attachments

Started by WolfLust, February 23, 2008, 02:11:08 AM

Previous topic - Next topic

WolfLust

Thank you for replying SlammedDime,

I checked all the files and there's nothing about open_basedir about them.

However, in /etc/vhcs2/apache/httpd.conf I found:
<Directory /var/www/vhcs2/gui/tools/filemanager>
    php_flag register_globals On
    php_admin_value open_basedir "/var/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/"
</Directory>

Could this be related?

It also exists in: /root/VHCS/vhcs2-2.4.7.1/configs/apache/httpd.conf

<Directory /var/www/vhcs2/gui/tools/filemanager>
    php_flag register_globals On
    php_admin_value open_basedir "/var/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/"
</Directory>
For the great day of wrath is coming, and who shall be able to stand?

SlammedDime

Those wouldn't be it simply because of the Directory declaration.  What type of hosting do you have?  VPS? Dedicated?  Managed, unmanaged?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

WolfLust

SlammedDime it's a shared hosting.

Thank you for replying.
For the great day of wrath is coming, and who shall be able to stand?

rocker

Any fix yet because I am having the same problem

WolfLust

Still facing the same problem, no fix yet.
For the great day of wrath is coming, and who shall be able to stand?

rocker

Here's what I get when I try to reset permissions to all files writable.
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

rocker

These guys are pretty good in these forums,we shall have a fix soon.

Rumbaar

In that regards, have you tried the Fix Ownership tool in the package manager sticky?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

WolfLust

I cannot seem to find that package, can you please link us?
For the great day of wrath is coming, and who shall be able to stand?

Rumbaar

"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

WolfLust

The tool detected /htdocs/forum/ as my forum path.

In the admin panel it's a different path that's NOT lit in red. Isn't this some kind of a conflict? I still can't upload attachments.
For the great day of wrath is coming, and who shall be able to stand?

Rumbaar

Well your forum path and your attachment paths will be different.  Did you run the Fix Ownership tool anyways?  If there is some kind of path error, that might explain a few things though.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

WolfLust

I did and all it gave me was something like:

This is your forum path please write it down:

/htdocs/forum

Note that this should be fixed in the next update.

Something like that, but I still cannot attach files. Even as admin.
For the great day of wrath is coming, and who shall be able to stand?

Rumbaar

So it wasn't success in CHOWN the files to your account?  If it's the issue, not 100% sure, I'd ask you host to CHOWN the files to your account and see if that allows you to set the permissions correctly and access.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

WolfLust

How can I know to what owner to chown the files? I have sudo access
For the great day of wrath is coming, and who shall be able to stand?

rocker

#55
Quote from: Rumbaar on March 24, 2008, 05:32:03 PM
It's the only Sticky in this section ....

Having problems with the package manager?
I am not using the package manager and I am not having quite the same problems,I have no red lettering and everything in my admin looks normal unless I am missing a hidden problem somewhere.My data base shows no errors.I have tryed all kinds of different permission changes.I have an email into my host to see if there is a problem they can find because I am also using soholaunch and can not get pictures to upload to my homepage either.

rocker

#56
Update,I did nothing except get the hell away from my computor for about 8 hours and now my attachments are working again.please don't ask me how the problem fixed itself.I have however lost most of the site attachments.

Rumbaar

Well the main account you have that controls the whole server, I would assume is the one to set CHOWN for all files too.  But I've never done this myself, so would know of how wide or encompassing a change is required.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

metallica48423

Did you have any luck with this?

I would reccommend going in with SSH, to your forum directory, and run this command

ls -l.

This will give you a more verbose directory listing, including owner, permissions, etc.

Please paste that here.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

WolfLust

Thank you for your reply Metallica48423.

Here's what I get by running ls -l in the attachments dir:

-rw-r--r-- 1 www-data www-data 33854 2008-03-23 20:23 avatar_11.png
-rw-r--r-- 1 www-data www-data 28277 2008-03-15 19:44 avatar_143.png
-rw-r--r-- 1 www-data vu2017   62738 2008-03-26 05:35 avatar_154.png
-rwxr-xr-x 1 vu2017   vu2017    5813 2007-09-29 10:25 avatar_20.gif
-rwxr-xr-x 1 vu2017   vu2017   13370 2007-09-29 10:24 avatar_24.jpg
-rw-r--r-- 1 www-data www-data 61378 2008-03-13 03:44 avatar_32.png
-rwxr-xr-x 1 vu2017   vu2017    3060 2007-09-29 10:25 avatar_34.jpg
-rwxr-xr-x 1 vu2017   vu2017    2847 2007-09-29 10:25 avatar_39.gif
-rwxr-xr-x 1 vu2017   vu2017    4328 2007-09-29 10:24 avatar_41.jpg
-rwxr-xr-x 1 vu2017   vu2017   12962 2007-09-29 10:25 avatar_48.jpg
-rwxr-xr-x 1 vu2017   vu2017    5391 2007-09-29 10:24 avatar_4.png
-rw-r--r-- 1 www-data vu2017   47138 2008-03-25 14:11 avatar_61.png
-rwxr-xr-x 1 vu2017   vu2017    3370 2007-09-29 10:25 avatar_66.jpg
-rwxr-xr-x 1 vu2017   vu2017   44593 2007-09-29 10:24 avatar_68.jpg
-rwxr-xr-x 1 vu2017   vu2017   15622 2007-09-29 10:25 avatar_76.jpg
-rwxr-xr-x 1 vu2017   vu2017   14722 2007-09-29 10:24 avatar_9.jpg
-rwxr-xr-x 1 vu2017   vu2017      74 2008-03-08 20:35 .htaccess
-rwxr-xr-x 1 vu2017   vu2017     327 2007-09-29 10:25 index.php
For the great day of wrath is coming, and who shall be able to stand?

Advertisement: