Recently Browsing 0 members
No registered users viewing this page.
I have a PW site where I had been successfully uploading png and jpeg files. Recently the file and image file fields don't save. The upload status bar completes (100%) without error but when the page with the file field is saved the uploaded file name is missing from the refreshed page.
This must be due to a site hosting change but I need more specific info like error details before I raise it with them.
The php v5.4 config has file uploads enabled and safe mode is off.
I have tried the following to fix this without success:
I have read and tried the fixes to the similar posting from Soma: can't upload image/files problem Upgraded the PW site from 2.3 to 2.5.3. (no change) Turned on debug in config.php with no obvious error messages showing. Debugged core\WireUpload.php where I found that the recommended fixes from 1. wouldn't work because the file field is not using Ajax. Have you got any other suggestions?
I have had some (more) trouble to get started with PW :-(
In my php.ini the default_charset was set to 'ISO-88591' or something similar.
So, as the DB uses utf8 and the pages are delivered in utf8, php is required to use it too.
If not you can run into errors when try to save strings with e.g. german umlaute: äöü ÄÖÜ
Incorrect string value: '\xFCchte ...' for column 'data' at row 1
I'm not sure if this was checked with the install routine, but I have seen only green lines
Maybe this could be done to avoid some hassle to users with a setup other than utf8.
Or it maybe an option to add "ini_set('default_charset','utf8');" somewhere at the top of index.php,
and to be very very sure (also for paranoics like me ) one can set and check it:
$php_use_utf8 = strtolower(trim(ini_get('default_charset')))=='utf8' ? true : false;
Ok, now I can start try out that wonderful CMS