Forums » Alpha Release Candidate

Fatal error thrown when trying to add image

(3 posts)
  • Started 8 months ago by trevorjames
  • Latest reply from trevorjames
  • This topic is closed
  • This topic is not a support question
  1. 8 months ago # | |

    I have Omeka successfully installed on my Linux server. However when I try and add an item to a collection (an image) I get the following error:

    Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in /home/variantc/public_html/omeka/application/models/Item.php on line 172.

    Let me just add here that the error is thrown but the image still gets posted. Strange??

    Please help!!

    Thanks,

    Trevor James
    Frederick County Public Schools Webmaster

  2. In the Item data model, additional data is saved after forms are executed, so it makes sense that the item would be added even if there's an error saving to a collection. With that said, collections should be associated properly and do so on other systems we're testing Omeka on.

    What are the specs of your server? (php and mysql versions - I asked this on another thread, too)

  3. 8 months ago # | |

    MySQL version: 5.0.37

    PHP: 5.1.6

    -Trevor

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.