Home arrow Forum Latest posts of: DOCa Cola
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 01:24:35 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Hacks / Joomla-SMF 2.0.x / Re: Topics Not Appearing For SMF Admin While Wrapped on: March 09, 2008, 08:13:41 AM
the bridge is not under development anymore. i am not a php guru either but i wrote the fix you are complaining about. so please just be happy that your regular see the site as intended. besides the php fix there are two other options to fix this issue one by going back to an pre-5.2.5 php version or to try the htaccess workaround.
2  Joomla Hacks / Joomla-SMF 2.0.x / Re: Topics Not Appearing For SMF Admin While Wrapped on: March 09, 2008, 05:28:49 AM
then go find a solution Wink Roll Eyes
that atleast all users see the site as intended is better than nothing
3  Joomla Hacks / Joomla-SMF 2.0.x / Re: Topics Not Appearing For SMF Admin While Wrapped on: March 05, 2008, 06:55:33 AM
yep, if you can go back to php 5.2.4 your issues will be solved. maybe they will fix the regex library in the next version. i assume it is a bug of some kind than a feature...
4  Joomla Hacks / Joomla-SMF 2.0.x / Re: Empty page when topic more than 1 page long on: February 22, 2008, 03:35:51 AM
i have posted a temporary fix in this topic
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,4589.0
5  Joomla Hacks / Joomla-SMF 2.0.x / Re: Topics Not Appearing For SMF Admin While Wrapped on: February 22, 2008, 03:35:01 AM
it is related to the new php 5.2.5 versions regular expression library. most isps have recently updated. either this is a bug or something they have changed in how the regexes are evaluated.
i have written a workaround now so that atleast all sites are now appearing again but i have seen one case where the css file of the forum isn't correctly integrated into the forum on the sites that didn't appear before. so you have two ways of fixing that, either go back to php 5.2.4 if you can and hope this was really a bug in the pcre library that is fixed with the next version or you can try my fix. plaese note that i am not an php expert though i have a lot programming experience

open smf.class.php

find:
Code:
$regex = array('/<!DOCTYPE.*<body>/smi', '/<\/body>/i', '/<\/html>/i');
$buffer = preg_replace($regex, array('', '', ''), $buffer);
unset($matches, $keywords, $css, $search, $replace, $headers, $regex);

replace with:
Code:
//Regex broken with PHP 5.2.5           
//$regex = array('/<!DOCTYPE.*<body>/smi', '/<\/body>/i', '/<\/html>/i');
//$buffer = preg_replace($regex, array('', '', ''), $buffer);
//unset($matches, $keywords, $css, $search, $replace, $headers, $regex);
$needle = '<body>';
$buffer = strstr($buffer, $needle);
$buffer = substr($buffer, strlen($needle));
$regex = array('/<\/body>/i', '/<\/html>/i');
$buffer = preg_replace($regex, array('', ''), $buffer);
unset($matches, $keywords, $css, $search, $replace, $headers, $regex, $needle);

use at your own risk. if you can write a better fix, please do so, also if you experience the css issue. i don't understand why the first regex in the array isn't working anymore in the new version
6  Joomla Hacks / Joomla-SMF 2.0.x / Re: Empty page when topic more than 1 page long on: February 20, 2008, 08:06:54 AM
i have the same issue with all posts longer than 8 posts.
it seems that when i have replied to that thread it disappears even after only 7 posts (that i am not 100% sure)
7  Joomla Hacks / Joomla-SMF 2.0.x / Re: Topics Not Appearing For SMF Admin While Wrapped on: February 17, 2008, 06:57:58 PM
yes, i noticed the same. it appears that only guests and registered users are not affectd. i have some special users in our forum that have a special usergroup that experience the same issue, so this does not affect admin membergroups but it seems that all users are affected that are not in the 'default' membergroup.
the problem first occoured after we moved to a new server with an exact copy of the db and joomla/smf files. the problem seems to be occouring due to some kind of server configuration. i have not figured out yet which setting is responsible for that issue...
8  Joomla Hacks / Joomla-SMF 2.0.x / Re: Topics Not Appearing For SMF Admin While Wrapped on: February 14, 2008, 12:08:47 PM
i do have exactly the same problem after i have moved to a new server...
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
i-Vibe.com
Search Contact About Advertise Blogs Topsites Submit News Register Login