Problem with image upload
Problem with image upload
I have been playing around with the previous version for a week or so. I noticed the new version and completly uninstalled the older version and installed the latest version.
I am getting an error when uploading an image.
Error while writing file to storage (1)
I am still unsure if I need to create a dir called images and then place the images I am going to use in this dir. Is this correct?
I have correctly CHMOD all the files that were needed. I have uninstalled the new version twice and keep getting the same error.
I am getting an error when uploading an image.
Error while writing file to storage (1)
I am still unsure if I need to create a dir called images and then place the images I am going to use in this dir. Is this correct?
I have correctly CHMOD all the files that were needed. I have uninstalled the new version twice and keep getting the same error.
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
are you still usingin the old database?
http://www.studmed.dk Portal for doctors and medical students in Denmark
I am and I am not. I took the old DB and clear it out so it was empty. Then reinstalled the app. I guess I could go in and del the entore db and then edit the config file to reflect the new db settings.
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
PHP isnt runnig in safe mode. Also, I wish the posts could convert to English.
http://www.renaxsolutions.com/edgepanel/sysinfo.php
http://www.renaxsolutions.com/edgepanel/sysinfo.php
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
I installed the previous version of the phpwcms and have no problems uploding an image and having the thumbnail generated.
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
Well, for some reason the permission were not being kept. I had correctly set all the permissions on the 5 other times I had tried to get the new version to work.nrpil wrote:I think i know what your problem is, the files you uploaded to be taken over have the wrong permissions. The webserver cannot read them.
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
I am and I am not. Iare you still usingin the old database?
as there are new database entires in the new install you are probably 'dropping' the old database and re-running the startup to rebuild new database from scratch. noy just the contents over an empty, but old database structure.took the old DB and clear it out so it was empty. Then reinstalled the app
Well, I had gone in an deleted the db and made a completly new one. I then installed fresh and performed a standard install. The cms was there but kept getting the image upload problems with not being able to write to storage.
So, I deleted everything and then built a new db, and installed the previous version and poof, no issues.
So, I deleted everything and then built a new db, and installed the previous version and poof, no issues.
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Can somebody check the following:
In files.private.upload.tmpl.php change line 81 to:
line 88 to:
line 96 to:
and line 135 to:
or if this is setted then the reverse form:
line 81 to:
line 88 to:
line 96 to:
and line 135 to:
Oliver
In files.private.upload.tmpl.php change line 81 to:
Code: Select all
//$oldumask = umask(0);
Code: Select all
$oldumask = umask(0);
Code: Select all
umask($oldumask);
Code: Select all
//umask($oldumask);
line 81 to:
Code: Select all
$oldumask = umask(0);
Code: Select all
//$oldumask = umask(0);
Code: Select all
//umask($oldumask);
Code: Select all
umask($oldumask);
Oliver
Oliver,
Thank you for offering to go in and see what the issue is. I have been hammered here with business and software releases.
Thank you for offering to go in and see what the issue is. I have been hammered here with business and software releases.
StorHost Inc.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.
"Intelligent Infrastructure"
Managed Servers | Off-Site Data Back Up | Managed Solutions.