Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
aespinal
Hangin' Around



Joined: Nov 12, 2006
Posts: 41

PostPosted: Mon Jan 18, 2010 9:23 am Reply with quote

I have a fresh Installation of RavenNuke_v2.40.00 that includes the script Content Plus. The issue is when I'm attempting to look at a Content Page. I can create the page just fine, and Edit it, but when you go to look at the page itself, I get a blank page (The website cannot display the page). If I desactive the page I can see it (as admin only) -- but if activated I can not see it (as admin or user).

MySQL version 4.1.22-standard
PHP version 5.2.8

Site http://portal.nosotros.com/portal/index.php

Please help. Thanks advance
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Jan 18, 2010 9:40 am Reply with quote

If you set
$display_errors = true;
in config.php do you get an error message?
 
View user's profile Send private message Visit poster's website
aespinal







PostPosted: Mon Jan 18, 2010 10:00 am Reply with quote

It was configured as
$display_errors = false;
I changed it now to
$display_errors = true;
and when trying to display the Content Plus page it shows:

Fatal error: Call to undefined function mb_internal_encoding() in /home/portaln/public_html/portal/includes/class.autokeyword.php on line 113
 
spasticdonkey







PostPosted: Mon Jan 18, 2010 10:39 am Reply with quote

are you sure you are running php5?
try adding this at the very top of
portal/.htaccess

Code:
AddHandler x-httpd-php5 .php

AddHandler x-httpd-php .php4


if that doesn't work you'll probably have to contact your host.
http://www.ravenphpscripts.com/postp143667.html
 
aespinal







PostPosted: Mon Jan 18, 2010 11:00 am Reply with quote

I included your info and now the site download the index.php file...
 
spasticdonkey







PostPosted: Mon Jan 18, 2010 11:02 am Reply with quote

whoa ya thats not right... not sure where you added that, but it should be added to:
html/.htaccess

the top looks something like:
before:
Code:
#####################################################

#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#  THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations.  They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file.  If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected.  If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################

after
Code:
AddHandler x-httpd-php5 .php

AddHandler x-httpd-php .php4 #####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#  THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations.  They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file.  If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected.  If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################


if that is where you added it and it's still behaving this way then remove it, contact your host and find out if mb_internal_encoding is enabled.


Last edited by spasticdonkey on Mon Jan 18, 2010 11:08 am; edited 1 time in total 
aespinal







PostPosted: Mon Jan 18, 2010 11:05 am Reply with quote

I put it like this (only the beginning send here):

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
# THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations. They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file. If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected. If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################

# 'Options +FollowSymLinks' is required for use of mod_rewrite.
 
spasticdonkey







PostPosted: Mon Jan 18, 2010 11:13 am Reply with quote

hmm ok, well you better remove it then Sad
Next step is to contact your host and find out if mb_internal_encoding is enabled.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Jan 18, 2010 3:57 pm Reply with quote

Or if you go into the Forum administration are, I think there is a phpinfo() link so you should be able to search for it there.
 
View user's profile Send private message Send e-mail
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Mon Mar 08, 2010 9:02 am Reply with quote

aespinal, Did you get to solve this?

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella
http://about.me/jestrella04 
View user's profile Send private message Visit poster's website
aespinal







PostPosted: Sat Mar 13, 2010 1:18 pm Reply with quote

It works fine, but created some issues in other php applications, like this gallery

Notice: Undefined offset: 8192 in /home/xxx/public_html/gallery/include/debugger.inc.php on line 112

Also, in oscommerce stores, we had to change functions to show errors to "off"
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat Mar 13, 2010 2:00 pm Reply with quote

You will want to change $display_errors back to false. It should only be set to true when trouble shooting, not on production sites.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
spasticdonkey







PostPosted: Sat Mar 13, 2010 2:03 pm Reply with quote

what is your $error_reporting setting in rnconfig.php? The default setting should not display notices... I doubt it's related to enabling mb_internal_encoding.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©