Introduce yourself here! In order to avoid spam, new users must first comment on the discussion in the 'Introductions' before they become 'full members'
Uploader not working
  • Hi,

    I recently upgraded to version 0.1010
    Now the file Uploader does not do anything when I attempt to upload files or images.
    Not getting any errors, it just seems to do nothing at all and the files do not get uploaded.

    this worked fine on my previous version of Flatpress.
    PHP Version 5.3.2-1ubuntu4.7

    is there a setting or config that needs to be changed ?

    My existing attaches and images are available and displayed fine via the site, its just not uploading any new files.

    any help would be greatly appreciated.
  • The obvious question is about whether you have "write" permission on your images and attachs folders?
  • they are set to 0755. did not think I would need to change them to 0777, or should I?
  • actually, I have access to the php error.log file for my errors and i dont get a permissions error, however I do get the following that might not be relevant, but could be the cause:

    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 539, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1160, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1171, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1214, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1231, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1452, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser.class.php on line 287, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser.class.php on line 984, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/lastentries/plugin.lastentries.php on line 30, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Notice: Undefined index: upload in /opt/www/user/web/www.mysite.com/admin/panels/uploader/admin.uploader.php on line 48, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Warning: Invalid argument supplied for foreach() in /opt/www/user/web/www.mysite.com/admin/panels/uploader/admin.uploader.php on line 48, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 539, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1160, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1171, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1214, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1231, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1452, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser.class.php on line 287, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/bbcode/inc/stringparser.class.php on line 984, referer: http://www.mysite.com/admin.php?p=uploader
    HP Deprecated: Assigning the return value of new by reference is deprecated in /opt/www/user/web/www.mysite.com/fp-plugins/lastentries/plugin.lastentries.php on line 30, referer: http://www.mysite.com/admin.php?p=uploader
  • and to double check, I also just changed the 'attachs' folder permissions to 0777, and still nothing happens when I click the 'upload' button on the Uploader page.
    I have googled the above errors and cant really find anything specific to flatpress.
  • those errors refer to the bbcode plugin (and can be safely ignored); they are in no way related to the uploader
  • hi NoWhereMan, thanks for the response, however, half way down that error list are these two errors:
    PHP Notice: Undefined index: upload in /opt/www/user/web/www.mysite.com/admin/panels/uploader/admin.uploader.php on line 48, referer: http://www.mysite.com/admin.php?p=uploader
    PHP Warning: Invalid argument supplied for foreach() in /opt/www/user/web/www.mysite.com/admin/panels/uploader/admin.uploader.php on line 48, referer: http://www.mysite.com/admin.php?p=uploader

    are these safe to ignore too? if so, i really am stuck. I've checked the php info in case something had changed, but file_uploads is on, upload_max_filesize = 2M and the file is only 190k, so I cant see what the problem is at all. is there any other tests i can try or settings to check or suggestions ?
    thanks,.

  • Problem solved.

    Via 'Maintain' I clicked on 'Purge the theme and templates cache' and yeehaaa - its worked.

    thought I had clicked this just after the upgrade, but in future will always try this first when any problem occurrs.
This discussion has been closed.
All Discussions
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion