Full Image corrupted

Hello everyone!

I just installed a new fresh copy of Zenphoto 1.4.2.4 [10045] (Official Build). I'm running it on Windows, with Apache 2.4.2 and PHP 5.4.3. I haven't installed any other plugins or anything. It is running pretty much with the default settings.

Everything works except the download full version of an image. All the images get corrupted because some html error gets added to the actual image file (see below). If I delete those lines the image works fine.

Any ideas?

Thanks!

`


Warning: Illegal string
offset 'current_theme' in
C:\apache\htdocs\gallery\zp-core\functions-basic.php
on line 1339

`

Comments

  • Right off hand I do not see how that error situation could occur since the index would normally be set by the setup routine. But most likely you can correct it by switching themes.

    [edit] I do recall now. This problem has been corrected in the 1.4.3 release.
  • qb84 Member
    For some reason neither the developer or trunk releases installs on my system. It gets stuck on "About to create tables..." and there's an error on the MySQL logs.

    `120529 9:48:19 [Warning] Invalid (old?) table or database name '#sql2-1714-142'`

    I've tried both upgrading and installing fresh copies but no luck. Either it gets stuck at about to update tables or create tables. MySQL logs keep saying that the table is invalid with random numbers at the end.

    Any help will be appreciated :)
  • acrylian Administrator, Developer
    Devloper and trunk are currently the same btw. I have no idea currently. Maybe an issue with Php 5.4 but I cannot test that currently.

    That seems to be an access log. What is written in the php error log?

    Btw, in the future please use a new topic. This is not really related to the full image..:)
  • qb84 Member
    The only error I see is this one:

    `[Tue May 29 10:21:26.642575 2012] [:error] [pid 4408:tid 1244] [client 127.0.0.1:1979] PHP Fatal error: Call to undefined function db_close() in C:\\apache\\htdocs\\gallery\\zp-core\\functions-basic.php on line 1478`

    Sorry. Will create a new topic.
  • qb84 Member
    For future reference. I was able to "fix" this issue by turning PHP errors off but the warning about the theme keeps showing up in the log file.
Sign In or Register to comment.