Failed to Upload Files/Folder Creation Problems

PP lets me create a folder. It also "shows" the folder in the folder list, but...
(1) where is it actually creating these folders PHYSCIALLY if you are using file system option and,
(2) if it is within the "uploads" folder, then I am not ACTUALLY creating folders because when I go to that particular dir, it is empty

My second problem is that everytime I go to try and upload a file, I get the "failed to upload file" error and my php error logs are not actually recording any error message at all.
-I have CHECKED MY PERMISSIONS and they are correct
-I have changed ownership of the directories to root

I still get these errors.

I noticed someone else asked this question and got no response. Can someone PLEASE help?

Thank you.

The folders that are created are done in the database are should not be considered Physical Folders. They could also been seen as Categories. I don't think I've ever seen real folder being created in the file system.

As for your upload failure, you might also check to see how big the file is since that may be causing you problems. Also, I am pretty sure the ownership and permissions of the directory should be for "web" or "httpd" or whatever your webserver is accessing the files with - not root.

Thank you for your feedback. I appreciate the explanation about folders.

However, I am still having the failed to upload file issue. I DID check to size of the files I am trying to load and NONE of them are over 50KB so the 8MB possible file limit is not even an issue here.

I really wish some of the developers up here on the forum that are so eager to answer the more complex questions, would take a stab at this one. I would REALLY appreciate the assistance and I am glad to give credit to ANYONE that can provide me with the resolution that *works* on my blog, (not that this is incentive, but its at least something).

PLEASE HELP PROJECT PIER COMMUNITY!!! Thank you so much.

Please try to download a fresh copy of projectpier and perform a clean installation. You will want to backup any information already input into the system. See if that solves the issue - perhaps there was a glitch in the install or something. You might also want to try installing the software on a different server platform to test as well - try XAMPP or something appropriate for your platform.

Considering I'm the project lead, I'd like to think you're getting some quality help. =) This type of issue is difficult to support because this isn't much of a problem with anyone else's install, so it doesn't seem like a bug in the software and seems most likely that it is a configuration problem with your server. If the above suggestion doesn't shed any light, please give as many details as possible about your setup so we can try to provide some better help. Check here to find out how to report problems effectively

Hi, I have a fresh install and I couldn't add any files when my configuration was set to save the files into the normal filesystem, then I changed the option to "save to the database" and now it works. So my guess is that it's the owner-problem...currently I don't know any way to change the ownership (don't have shell rights).

regards
Markku

Hi Idbaldwin. I had the same problem as you, though I could send small files. My problem was related with the size itself. I couldn't upload files larger than 1M. I found 3 parameters that were causing this "malfunction". 2 of them are in the php.ini file which are the followings: "upload_max_filesize" and "post_max_size". The third one "max_allowed_packet" ,is in the my.cnf file of your Data Base.

Hope this helps. :-)

Hi,

I'm having the same upload problem. I checked my upload_max_filesize ( 60MB ) and my post_max_size ( 8 MB ). I can't seem to upload file bigger than 1MB. Can anyone provide some input?

I've downloaded a fresh copy of projectpier and I have set it to Filesystem (is there a way to switch between the two once you've set it one way?)

Thanks!
-Dan

I have found it makes a difference where your ini file is.

Supposedly if you update the php.ini in your root directory it is good for the entire site. For me it was a bit finicky and seems I had to include it in the root of my target folder.

it should work if in your root (public_html)

upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 60
magic_quotes_gpc = 0
register_globals = 0
memory_limit = 12M
session.auto_start = 0

for example

Hello,

It seems (we had same problem) that you configuration settings are set with MySQL file system, if you use MySQL file system your params are in de MySQL settings, otherwise use file-system in configuration section.

Gr.

Henry

If the File Storage is set to Database; reasons for failures in uploading large files could be a low value for the parameter "max_allowed_packet" in the MySQL database configuration file.

In my case I couldn't upload any files bigger than 1M. When I checked the my.ini MySQL configuration file it was set to 1M. Increasing this value to say 10M helped solve the problem. I think after modification MySQL has to be restarted for it to work.

I have changed both the php.ini and the my.cnf files to reflect the changes mentioned to accommodate larger file uploads. Prior to that, I had also not been able to upload anything larger than 1MB. After making the changes to both php.ini and my.cnf, all of the appropriate settings (max_allowed_packet, etc.) have been changed to 16MB. However, when I try to upload a file larger than 1 MB, it will begin to upload it, but refreshes to a page where it shows nothing but the file name rather than the "files" page it would normally display. Any time I navigate to the files list that would have that larger file on it, it only displays the page title rather than all of the elements that should be displaying (i.e. navigation, file details, etc.). It still seems to upload smaller files without any problem and when I manually delete the larger file from the database, everything on the files pages displays properly once again. Any ideas as to why the larger file would cause the application to behave erratically?

I managed to fix this. I just started using the MySQL file structure and it started working.

I had similar problem. The solution was to create /tmp/ folder in root directory.