Author |
Message |
AndyB
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/50e5906d503900b86d7c3.jpg)
Joined: Jun 03, 2004
Posts: 231
Location: Torrevieja, Spain
|
Posted:
Tue Apr 10, 2012 2:18 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
Site Admin
![](modules/Forums/images/avatars/502a2d1345d88a86ddb4a.png)
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Tue Apr 10, 2012 3:16 pm |
|
Have you turned on error reporting in the config.php file? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
AndyB
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 11, 2012 12:55 am |
|
Think so- I'll make sure it's got the full reporting enabled and check what the log gives me.... -thanks. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Wed Apr 11, 2012 9:16 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
AndyB
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 11, 2012 11:17 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
AndyB
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 11, 2012 11:38 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
AndyB
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 11, 2012 12:32 pm |
|
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) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/5ed231554a8492e2e09da.gif)
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Fri Apr 13, 2012 4:05 am |
|
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);
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
AndyB
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Apr 13, 2012 8:40 am |
|
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(); |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|