News: Cheesecake Photoblog V2.0 stable released
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
September 11, 2010, 03:33:38 AM
Pages: [1]
  Print  
Topic: unserialize error after upgrade  (Read 4336 times)
« on: February 18, 2008, 04:51:53 PM »
david
Newbie

View Profile
*
Posts: 22



After upgrading to v1.6 Beta 3, I uploaded a new photo, and now get this error when the photo is displayed:

Notice: unserialize() [function.unserialize]: Error at offset 291 of 389 bytes in {pathname}app/controllers/photos_controller.php on line 77

I tried editing it and replacing it with the previous photo that uploaded fine before the upgrade, but still got the error.

Do you have any ideas?

You can see it here:

[edited]

Thanks
« Last Edit: February 19, 2008, 03:41:17 PM by david » Logged
« Reply #1 on: February 19, 2008, 10:38:40 AM »
Amit Badkas
Administrator
Newbie

View Profile
*****
Posts: 35



After upgrading to v1.6 Beta 3, I uploaded a new photo, and now get this error when the photo is displayed:

Notice: unserialize() [function.unserialize]: Error at offset 291 of 389 bytes in {pathname}app/controllers/photos_controller.php on line 77
- This error occurred when there is any non-printable character present in photo's exif information
Logged

« Reply #2 on: February 19, 2008, 01:28:02 PM »
Dr. Tarique Sani
Administrator
Full Member

View Profile
*****
Posts: 141



A quick solution to the problem is put an @ before the unserialize in line 77 app/controllers/photos_controller.php

As Amit has already pointed out it is the EXIF info which can cause this problem at times
Logged

http://sanisoft.com - PHP applications for E Biz
« Reply #3 on: February 19, 2008, 03:40:50 PM »
david
Newbie

View Profile
*
Posts: 22



Thanks, that fixed it.  I save my photos that I'm going to upload without exif information.
Logged
« Reply #4 on: October 05, 2008, 09:20:20 AM »
joel
Newbie

View Profile WWW
*
Posts: 1



sorry to bring back such an old thread..

So I have this same problem with my D70 and D300 images. Is this because of I have a '(c)'in the user comment field? Nothing else has been modified and it's all straight out of the cameras. Not having EXIF information is really bugging me.

Thanks..
Logged
« Reply #5 on: October 06, 2008, 04:08:57 PM »
Dr. Tarique Sani
Administrator
Full Member

View Profile
*****
Posts: 141



Hi, The solution still remains the same that I have posted a couple of posts ago - put a @ before the unserialize function.
Logged

http://sanisoft.com - PHP applications for E Biz
« Reply #6 on: November 09, 2009, 12:08:44 AM »
[url=http://tierussianwoman.w-ru.com/]women marriage[/url]
D.Idofs
Newbie

View Profile WWW
*
Posts: 6



is this a common problem that everyone has...

after i convert episodes 30 min. they look fine but end at about 25 min.
Logged

« Reply #7 on: November 26, 2009, 01:53:13 AM »
CherfoP09
Newbie

View Profile WWW
*
Posts: 5



I had to do the following SQL changes after running upgrade.php in addition/next to upgrade-tables.sql:

This table was missing:
Logged
  H
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC