[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
phpee.com • View topic - Calendar Problem (Unserialize ?!)

Calendar Problem (Unserialize ?!)

Report bugs of current version 2.2.5 here!

Moderators: Moderator Team, Development Team

Calendar Problem (Unserialize ?!)

Postby alexandre on Sat Dec 06, 2003 8:38 pm

Ok.. Now that David resolved my login problem.. Here's another one.. Loll When I try to see the calendar.. Here's what i get: Notice: unserialize() [function.unserialize]: Error at offset 9 of 90 bytes in C:\wwwroot\pphlogger\modules\calendar.mod.php on line 96

I see that cause i configure my php.ini to show all errors and notice.. But i dont see anything else..

Does somebody have an idea what could be the problem? Again, my URL is: http://66.158.132.244/pphlogger/ you could use guest/guest as user/password

I changed the calendar page.. I just added: echo "$cache"; before: $cache_arr = unserialize($cache); just to know if there was really something in $cache and this is what i got: a:6:{i:0;s:1:\"0\";i:1;s:1:\"0\";i:2;s:1:\"0\";i:3;s:1:\"0\";i:4;s:1:\"0\";i:5;s:1:\"0\";}

Thanks again!
alexandre
 
Posts: 11
Joined: Sat Nov 29, 2003 10:38 pm

Postby sdjl on Sun Dec 07, 2003 1:40 am

lol, another problem :D
Do you have PHP set to the highest error reporting level?
Remember that the default error reporting level is not the highest that it can be thus meaning that Philip may not have coded PPHLogger with the highest error reporting turned on.

The login you provided doesn't work (guest/guest).

David
-----
|
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Postby alexandre on Sun Dec 07, 2003 1:58 am

Oups.. I forgot to create the user... now it's suppose to work.. hehe :D Sorry for that! Lol
alexandre
 
Posts: 11
Joined: Sat Nov 29, 2003 10:38 pm

Postby sdjl on Sun Dec 07, 2003 2:03 am

So have you set the error reporting level to high?
This account doesnt have any stats either.
It could be that the unserialize function is being used on no data causing an error.
Normally this error would be silent but because of the high error reporting level its pushed to the surface which is why you're getting errors.

David
-----
|
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Postby alexandre on Sun Dec 07, 2003 5:36 am

No.. I tried it with an account having some stat..
Check.. I've put some stats in and there is the same error..

Here is how i configured the error in php.ini:
error_reporting = E_ALL

But even if I put it to:
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
like it should be I get a blank screen

I don't know if this can help but check that.. I modified a little bit the calender.mod.php at line 95 for:

echo "$cache";
$cache_arr = unserialize($cache);
echo "$cache_arr";
if(!$cache_arr) exit;




echo "$cache"; return: a:6:{i:0;s:1:\"0\";i:1;s:1:\"0\";i:2;s:1:\"0\";i:3;s:1:\"0\";i:4;s:1:\"0\";i:5;s:1:\"0\";} like you see

and echo "$cache_arr"; return noting... so this is where the notice happend... and then it exit cause there nothing in it.. So its logical but why $cache_arr return nothing?? Here is the question!! I'm sure you will find the answer!!

Thanks Again!!
alexandre
 
Posts: 11
Joined: Sat Nov 29, 2003 10:38 pm

Postby sdjl on Sun Dec 07, 2003 7:52 pm

I'm not too sure why it returns nothing to be honest. Quite a weird error.
Ill pass this one of to Philip and hope he has some suggestions :)

David
-----
|
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Postby alexandre on Mon Dec 08, 2003 6:45 am

Ok I think Ive fixed my problem.. I think what resolved it was that I upgraded my PHP version to 4.3.4... but ive done alot of thing and maybe its another thing! loll Thanks again!
alexandre
 
Posts: 11
Joined: Sat Nov 29, 2003 10:38 pm

Postby alexandre on Sat Dec 13, 2003 5:24 pm

OK... I've finnaly found what was the REAL problem.. it was in my php.ini... the line: magic_quotes_runtime has to be OFF if you want the calendar to work... So.. in php.ini:

magic_quotes_runtime = off

And it will work!!!
alexandre
 
Posts: 11
Joined: Sat Nov 29, 2003 10:38 pm

Postby sdjl on Sat Dec 13, 2003 8:08 pm

ah ha!
Well done on fixing the error.
Maybe some documentation about this would be good in future releases.

David
-----
|
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Postby Fusion on Mon Jan 12, 2004 6:53 am

Toddler from Hell
Fusion
 
Posts: 71
Joined: Sat Nov 15, 2003 2:57 pm
Location: Hell, Norway

Postby Fusion on Mon Jan 12, 2004 6:41 pm

Toddler from Hell
Fusion
 
Posts: 71
Joined: Sat Nov 15, 2003 2:57 pm
Location: Hell, Norway

Postby sdjl on Mon Jan 12, 2004 7:23 pm

-----
|
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Postby Fusion on Mon Jan 12, 2004 7:32 pm

Toddler from Hell
Fusion
 
Posts: 71
Joined: Sat Nov 15, 2003 2:57 pm
Location: Hell, Norway

Postby sdjl on Mon Jan 12, 2004 9:15 pm

-----
|
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK


Return to PPhlogger bug reports

Who is online

Users browsing this forum: No registered users and 2 guests

cron