Thread Starter
hennyc
(@hennyc)
Re the above, the site is still being developed as ‘localhost’ so is not available on the web.
I have WPPA debugging switch on, but don’t know how to use it!
No idea, but at least do this: cleanup your browser cache, re-boot your pc, change your permalinks setting in the wp Settings menu, visit your site frontend, go back to admin panel and change permalink setting back to what it should be. There is no bug in wppa+ at the moment to cause such behaviour.
If still nothing, edit wp-config.php, put in define('WP_DEBUG', true);
( it may be there with false, then change false into true ). This may give usefull errormessages.
Thread Starter
hennyc
(@hennyc)
Hi
I will try your suggestions.
I have found that Import photos does work?!
Thread Starter
hennyc
(@hennyc)
Hi
I get the following error when I use the tickbox ‘after upload go to album’
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘`os_wppa_albums’ at line 1]
SELECT * FROM `os_wppa_albums
I patched it. De-activate and delete the plugin, then re-install from the plugins page. Same version number, but the error should have gone.
Thread Starter
hennyc
(@hennyc)
That has removed the error, but the photos still do not load. No error messages now?
Thread Starter
hennyc
(@hennyc)
I am not sure if this helps, but when I use the ‘upload multiple photos’ button, it does not seem to have the images available. The images show in the ‘selected images’ box.
But when the ‘upload multiple images’, when it goes through the wppa_upload.php, the $_FILES array seems empty
// Upload multiple photos
function wppa_upload_multiple() {
global $wpdb;
global $warning_given;
$warning_given = false;
$uploaded_a_file = false;
$count = ‘0’;
foreach ($_FILES as $file) {
if ( is_array($file[‘error’]) ) {
It does not go through the foreach ($_FILES as $file).
(neither does the single image uplaod?)
Thread Starter
hennyc
(@hennyc)
Hi Opa
The next time you get a numpty user posting they cannot load an image via your excellent plugin, tell then to look in their php.ini settings. I had ‘upload images’ turned off.
I feel totally embarrased. Your plugin now works beautifully.
Many thanks for trying to help me with this,