Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
AndyB
Worker
Worker



Joined: Jun 03, 2004
Posts: 231
Location: Torrevieja, Spain

PostPosted: Tue Apr 10, 2012 2:18 pm Reply with quote

This *may* have been the same previously (and one of my issues causing me grief, hence thinking of the upgrade);

on test bed RN 2.5, If I go to
/admin.php?op=mod_authors , complete all the necessary parts (not using an existing user name) and hit submit, I receive a blank white screen almost instantly.

I've done a search for things to do with Admin- I think JakeC (?) may have posted some tweaks for something similar in mainfile.php - it made no difference....

Suggestions/ pointers welcome.

It doesn't appear to work for either superadmin, or anything else. Am I trying to add admins in the wrong place?

Many thanks.

Andy
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Apr 10, 2012 3:16 pm Reply with quote

Have you turned on error reporting in the config.php file?
 
View user's profile Send private message
AndyB







PostPosted: Wed Apr 11, 2012 12:55 am Reply with quote

Think so- I'll make sure it's got the full reporting enabled and check what the log gives me.... -thanks.
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Wed Apr 11, 2012 9:16 am Reply with quote

Turn on database logging too ... that's set in rnconfig. Then check your dblog file ... if you are getting MYSQL errors they will show up there.
 
View user's profile Send private message Visit poster's website
AndyB







PostPosted: Wed Apr 11, 2012 11:17 am Reply with quote

OK;

some additional information:

when clicking edit admins, I get this:

Quote:
Deprecated: Function ereg_replace() is deprecated in L:\xampp\htdocs\admin\modules\authors.php on line 207


That line contains:
Code:
   $title = ereg_replace('_', ' ', $row['title']);


I then get the white screen when clicking submit. No error log created for SQL errors? I looked in the root, but could see no file....

PHP version on XAMPP is 5.3.8

I get similar errors for random image blocks- If someone can point me in the direction of a workaround/ fix, I should be able to apply it to those blocks also

Mucho thanks!

Andy
 
AndyB







PostPosted: Wed Apr 11, 2012 11:38 am Reply with quote

Now, as an update (and really is my bad)- this may also assist- and I'll check the post / see if I can follow the instructions.
[ Only registered users can see links on this board! Get registered or login! ]

Embarassed
 
AndyB







PostPosted: Wed Apr 11, 2012 12:32 pm Reply with quote

OK;

not sure whether the other thread is worth locking? (mentioned in my post above)- and referencing to this post.....

using this:
Code:
alter table nuke_authors

drop radminCalendarAdmin,
drop radminblocker;

- problem FIXED - please close thread if required.

Many thanks. (I'm an ar$e, as we say in the UK)
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1015
Location: Netherland

PostPosted: Fri Apr 13, 2012 4:05 am Reply with quote

Code:
$title = ereg_replace('_', ' ', $row['title']);  //Deprecated


Try this please
Code:
$title = preg_replace('/\_/\/', ' ', $row['title']);


or this one.

Code:
$title = str_replace('_', ' ', $row['title'], $string);
 
View user's profile Send private message Visit poster's website
AndyB







PostPosted: Fri Apr 13, 2012 8:40 am Reply with quote

Created it as a separate thread: (which you've rpelied to)

if (preg_match("/block-Amazon.php/",$_SERVER['SCRIPT_NAME'])) {
Header("Location: ../../../index.php");
die();
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

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 ©