Results 1 to 2 of 2

Thread: ez_sql_core.php error

  1. #1
    Member
    Join Date
    Jan 2011
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post

    Exclamation ez_sql_core.php error

    hi guys

    im getting this error on top of my site:

    Notice: unserialize() [function.unserialize]: Error at offset 8173 of 23916707 bytes in /home/xxxx/public_html/xxxxx.com/libs/extensions/ezSQL/ez_sql_core.php on line 382


    i have checked this file ez_sql_core.php on line 382, but i dont see nothing wrong there, line 382 looks like this:

    $result_cache = unserialize(file_get_contents($cache_file, NULL, NULL, 15));


    could someone please help me with this?

  2. #2
    Senior Member
    Join Date
    Jun 2011
    Location
    Thailand
    Posts
    294
    Thanks
    0
    Thanked 69 Times in 63 Posts

    Default

    This is not related to Hotaru and happens in some weird php installations. Try to change that line like this:
    PHP Code:
    $result_cache unserialize(stripslashes(file_get_contents($cache_fileNULLNULL15))); 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [solved] correct use of ezSQL - getting error message about syntax error
    By hotaruuser in forum How-To and Troubleshooting
    Replies: 3
    Last Post: 06-10-2011, 12:34 PM
  2. Error: Search for a uncertain any word that show an error.
    By acumen in forum Installation and Upgrading
    Replies: 1
    Last Post: 01-23-2011, 02:42 AM
  3. unserialize() Error at offset 16374 in ezSQL/ez_sql_core.php
    By cecilporter in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 09-24-2010, 08:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •