Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
bizarre12
Newbie
Newbie



Joined: Mar 15, 2008
Posts: 4

PostPosted: Mon Sep 15, 2008 1:17 pm Reply with quote

Code:

[12954] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12470] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[11718] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[16154] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12844] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12957] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12852] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12865] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12849] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12843] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323
[12848] EACCELERATOR: PHP crashed on opline 843 of (null)() at /home/virtual/***/public_html/includes/dynamic_titles.php:323


What can cause this?
 
View user's profile Send private message
pHaNtOm309
Newbie
Newbie



Joined: Sep 12, 2008
Posts: 5

PostPosted: Mon Sep 15, 2008 4:25 pm Reply with quote

Well I believe eAccelerator (a fork of the MMCache project) does not normally ship with PHP so it is doubtful it is something that it would have been tested with - there are just too many server configuration options and add-on modules for PHP to test every possible scenario.

However, I'm actually wondering if it is something caused by the use of the check_html() function.

The later insecure versions of phpNuke performed different operations with the check_html() function so it is possible that some incompatibility might exist - I believe the script is only tested with phpNuke 7.6 for this very reason (and of course RavenNuke).

I have never seen this particular problem before so I ould have to say it is related to the use of eAccelerator.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1393

PostPosted: Mon Sep 15, 2008 7:42 pm Reply with quote

Yeah, I think "G" is right. You could replace this line here:

Code:

$newpagetitle = check_html($newpagetitle, 'nohtml');


With a "poor man's" HTML tag stripper:

Code:

$newpagetitle = strip_tags($newpagetitle, '');


However, I will caution you that PHP's strip_tags function is not an adequate replacement for the RavenNuke(tm) version of check_html() if you are, in fact, using that CMS rather than PHP-Nuke.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
pauldoffer
Newbie
Newbie



Joined: Apr 10, 2012
Posts: 6

PostPosted: Tue Aug 28, 2012 5:25 am Reply with quote

I am just a beginner with php.. so I need to ask often.

I use this nice mode too. standaard I see code <br><div> en such code in the title but today I trierd the poor strippen instead of

Code:
$newpagetitle = check_html($newpagetitle, 'nohtml');


works better and I don't see the html code any more.

can I use them both? please tell me what is better

Thanks
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1393

PostPosted: Tue Aug 28, 2012 10:50 pm Reply with quote

If you are using RavenNuke(tm), the 'nohtml' method using check_html() is the absolute best. The PHP function strip_tags() has issues - it can be overly aggressive.

But, then again, if you are using RavenNuke(tm), you wouldn't need dynamic_titles.php as it has an even better methodology for this (based upon the original DT work but vastly improved).

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch