Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
Deseroka
Client



Joined: Apr 15, 2003
Posts: 466
Location: FL

PostPosted: Tue Jan 30, 2007 8:32 pm Reply with quote

I am unable to add a new person to my author list. I have not needed to do this for some time, in fact I think before I updated from 6.5 to 7.6.
I enter all the info, hit the add author button and the page hangs at a white page.
I don't even know where to begin trying to correct this.
Help me????
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Jan 31, 2007 12:47 am Reply with quote

A blank page usually indicates an error. Enable error reporting and check your error logs

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Deseroka







PostPosted: Wed Jan 31, 2007 1:02 am Reply with quote

Well, how hard are ya gonna laff when I tell ya I have forgotten how to enable error reporting? Let me go look at it, and I'll come back with what I find out.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Jan 31, 2007 6:47 am Reply with quote

Check your config.php file. Does it have something in there about "display_errors"?

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







PostPosted: Wed Jan 31, 2007 7:41 am Reply with quote

Yes it does. I haven't had to mess with that in a long time thank goodness. However, having it on gives no error. Just the blank white screen. I seen a post similar to this where they were getting an error of 'illegal operation'. My symptoms are pretty much the same, but I get no error reports.
Guess I could add from phpmyadmin? Alot of trouble for something that should be easy to do tho....
 
Deseroka







PostPosted: Wed Jan 31, 2007 7:59 am Reply with quote

I was just looking at the author's table over in phpmyadmin. I thought maybe running a repair on it would help, but that did not work. I did notice tho, that I have these comments in the structure
Quote:
PRIMARY and INDEX keys should not both be set for column `aid`


Quote:
UNIQUE and INDEX keys should not both be set for column `pwd`


Could this be causing my problem. I have double checked to make sure my God account had not been changed somehow. I am listed as a God account, have access to everything....But this just isn't working. I understood from reading in other posts that just a super user would not be able to edit or add admins, and the action I am getting seems to be indicative of that....at least to the best of my understanding.
I knew things were going too smooth....
 
montego







PostPosted: Wed Jan 31, 2007 9:34 am Reply with quote

No, doubtful that is it. Try accessing the following directly from your browser. You will either get a sytax error or something to the effect of "Access Denied" or "You cannot access this file directly":

admin/modules/authors.php

I think there is a syntax error in there somewhere introduced maybe by some edits?
 
Deseroka







PostPosted: Wed Jan 31, 2007 1:15 pm Reply with quote

Here's what I get

Quote:
Forbidden
You don't have permission to access /admin/modules/authors.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
 
montego







PostPosted: Fri Feb 02, 2007 6:24 am Reply with quote

Sounds like you have a .htaccess file in this directory or above it that has this in it:

deny from all

Change it temporarily to:

allow from all

and then re-do this test. We need to find out where the parse error is and what it is.

Do NOT forget to change the .htaccess file back!
 
Deseroka







PostPosted: Fri Feb 02, 2007 6:44 am Reply with quote

Ok, tried that, but still the same thing is happening.
 
montego







PostPosted: Fri Feb 02, 2007 7:13 am Reply with quote

Do you have an .htaccess file in the admin/modules/ directory? If not, add one with the "allow from all" in it. We have to find that parse error...
 
Deseroka







PostPosted: Fri Feb 02, 2007 7:47 am Reply with quote

Same as before....just a white page
 
montego







PostPosted: Fri Feb 02, 2007 8:17 am Reply with quote

Ok, that's better. Laughing Put the following into that same .htaccess file:

php_flag display_errors On

and try again...
 
Deseroka







PostPosted: Fri Feb 02, 2007 8:25 am Reply with quote

I gotta laff, coz the rule of thumb for me is "If it's freaky and can happen, it will happen to me!"
Still nothing but a white page.
Is it possible that my God account is corrupted and I just been doing everything as a super user?
 
montego







PostPosted: Fri Feb 02, 2007 8:35 am Reply with quote

Well, that is odd indeed. I could have sworn that this would also show db call issues, but maybe not. At least we can rule out PHP parse errors. So, let us starting digging into the DB. Take a look at your nuke_authors table in phpMyAdmin... does it show any errors on it? Try doing a repair on that table.
 
Deseroka







PostPosted: Fri Feb 02, 2007 8:54 am Reply with quote

I had tried this before, but just went back into phpmyadmin and analyzed the table, repaired it, then optimized it. I see no errors that I can spot.
Went back and tried to add a new admin.....I took the lazy way out and did not add the email and it loaded the page with the message that ya gotta add all fields, so went back added the email and got a white page after hitting 'add author'
 
montego







PostPosted: Fri Feb 02, 2007 9:29 am Reply with quote

Ah, getting closer. Please post just the structure (NO DATA) from your nuke_authors table. I am pretty sure that when you migrated from 6.5 to 7.6, there are extra columns in that table.
 
Deseroka







PostPosted: Fri Feb 02, 2007 9:40 am Reply with quote

OK, hopefully I will give ya all that you need here....Here is what is listed on the structure page

aid varchar(25) latin1_swedish_ci No
name varchar(50) latin1_swedish_ci No
url varchar(255) latin1_swedish_ci No
email varchar(255) latin1_swedish_ci No
pwd varchar(40) latin1_swedish_ci No
counter int(11) No 0
radminsection tinyint(2) No 0
radminephem tinyint(2) No 0
radminsuper tinyint(1) No 1
admlanguage varchar(30) latin1_swedish_ci

Indexes:
PRIMARY PRIMARY 7 aid
pwd UNIQUE 7 pwd
aid INDEX 7 aid
pwd_2 INDEX 7 pwd


Row Statistics:
Statements Value
Format dynamic
Collation latin1_swedish_ci
Rows 7
Row length ø 96
Row size ø 827 B
Creation Feb 10, 2006 at 05:59 AM
Last update Feb 02, 2007 at 08:55 AM
Last check Feb 02, 2007 at 08:55 AM
 
montego







PostPosted: Fri Feb 02, 2007 9:48 am Reply with quote

The following two fields are NOT in 7.6 of nuke. If you are certain that you upgraded to 7.6 script files, the removal of these two extra fields might solve your problem (take a backup of your table BEFORE you do this!).
 
Deseroka







PostPosted: Fri Feb 02, 2007 11:40 am Reply with quote

Which 2 fields? I did not do the update myself, but had it done by someone else because of all the patches and mods. It is 7.6 but I forget where it's patched to. I'm sure there are more that I need now, but that's another issue.
Tell me which fields and I'll back up the table and remove them to try it. If all else fails I guess I can go in and add authors from phpmyadmin.
Thanks for all the effort you are putting into helping me Montego!
 
montego







PostPosted: Fri Feb 02, 2007 11:42 am Reply with quote

Embarassed sorry about that! I always forget email attachments too!

radminsection
radminephem
 
Deseroka







PostPosted: Mon Feb 05, 2007 7:22 am Reply with quote

Sorry I stepped away for a day or so...I had people from out of town and got distracted. BUT! I am very happy to tell you that this repaired my problem!!!! I just went thru the entire process of adding a new author and it took. So far there seems to be no issue from dropping the 2 fields. Thank you Montego!
 
montego







PostPosted: Tue Feb 06, 2007 5:49 pm Reply with quote

u r most welcome! Glad to help.

RavensScripts
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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 ©