You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 216 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Admin Functions Return Blank Page [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 10:31 am Reply with quoteBack to top

Another culprit has been identified! If you are getting a blank page when you try certain Administration functions, namely Edit Admins, this could very well be your cuplrit. EventCalendar 2.11 (for sure and possibly other versions) adds a column to the nuke_authors table called radminCalendarAdmin, however the code to update the INSERT SQL call in the admin/modules/authors.php file may be in error due to other mods overwriting it. Contact EventCalendar's web site for more info. Find this line
Code:
$result = sql_query("insert into ".$prefix."_authors values ('$add_aid', '$add_name', '$add_url', '$add_email', '$add_pwd',
 '0', '$add_radminarticle','$add_radmintopic','$add_radminuser',
'$add_radminsurvey','$add_radminsection','$add_radminlink',
'$add_radminephem','$add_radminfaq','$add_radmindownload',
'$add_radminreviews','$add_radminnewsletter','$add_radminforum',
'$add_radmincontent','$add_radminency','$add_radminsuper',
'$add_admlanguage')", $dbi);
and change it to this
Code:
$result = sql_query("insert into ".$prefix."_authors values ('$add_aid', '$add_name', '$add_url', '$add_email', '$add_pwd',
 '0', '$add_radminarticle','$add_radmintopic','$add_radminuser',
'$add_radminsurvey','$add_radminsection','$add_radminlink',
'$add_radminephem','$add_radminfaq','$add_radmindownload',
'$add_radminreviews','$add_radminnewsletter','$add_radminforum',
'$add_radmincontent','$add_radminency','$radminCalendarAdmin',
'$add_radminsuper','$add_admlanguage')", $dbi);


[Modified by Raven after discussion with the author]

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff

Last edited by Raven on Fri Jun 06, 2003 6:17 pm; edited 3 times in total
Find all posts by RavenView user's profileSend private messageVisit poster's website
Nargul
Nuke Cadet
Nuke Cadet


Joined: Apr 06, 2003
Posts: 8


PostPosted: Fri Jun 06, 2003 12:34 pm Reply with quoteBack to top

Thanks Raven Cool

You spare me future problems and endless searching of forums for solution.. Very Happy
Find all posts by NargulView user's profileSend private message
Holbrookau
Corporal
Corporal


Joined: May 31, 2003
Posts: 50


PostPosted: Fri Jun 06, 2003 4:34 pm Reply with quoteBack to top

Raven, Where did you get your copy of Event Calendar from, as that bug does not appear to be in the versions we have released.
There was an earlier version that had a similar typo in the differance file although I'm not sure it was the same line as you quoted and was only there for a short time as the file was updated as soon as the error was spotted.
I will stand corrected if this has been overlooked previously but the current versions available (2.10 and 2.11) from our site don't have that bug.
BTW - there is no version 2.12 (at present) as your News article title suggests..

Holbrookau
http://phpnuke.holbrookau.net


Last edited by Holbrookau on Sun Jul 20, 2003 5:21 am; edited 2 times in total
Find all posts by HolbrookauView user's profileSend private messageVisit poster's website
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 4:41 pm Reply with quoteBack to top

Yikes, that's a typo. It should have said 2.11 and in my linked article it does say 2.11. I don't have it. I have corrected at least 6 copies this week and I asked several of them to contact the author of the product. Evidently they must have grabbed it that quickly or someone else has it and is allowing access to it. I will get the News article version corrected and I will modify the content to explain that there was an error for a short time interval if that will help.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Holbrookau
Corporal
Corporal


Joined: May 31, 2003
Posts: 50


PostPosted: Fri Jun 06, 2003 5:12 pm Reply with quoteBack to top

Might I suggest that the fault lies not in the Event Calendar but with the later installation of other modules that also require a modified authors.php.
I'm sure there are others but NSNGroups uses a differant authors.php file which overwrites the existing one upon upload.
The answer here (because NSN don't supply a differances file) is to re-apply the Event Calendar changes to authors.php using the supplied diffs.doc file after NSNGroups has been installed.
The bottom line is if PHP-Nuke had a proper plug & play type administration system we wouldn't have this problem.
Perhaps you could update your news article to reflect the above?
Find all posts by HolbrookauView user's profileSend private messageVisit poster's website
Holbrookau
Corporal
Corporal


Joined: May 31, 2003
Posts: 50


PostPosted: Fri Jun 06, 2003 5:43 pm Reply with quoteBack to top

OK - I have another scenario (my fault).
In the latest version I have suggested that modifiying authors.php is not strictly required if users didn't want Event Calendar admins (this has not been optional previously).
The supplied sql file adds a radminCalendarAdmin to the database but if the user has choosen not to use the changed authors.php they will encounter that error.
Provided the user doesn't actaully want EventCalendar admins the answer here is to delete radminCalendarAdmin from the database rather than do your suggested one line change as authors.php is altered in a number of places to accommodate radminCalendarAdmin.
Sorry for the hassle, but as we have not had one bit of feedback on this error I found it rather odd that you have found so many in such a short time.
Hope this clears things up and I will edit the release files accordingly.
Find all posts by HolbrookauView user's profileSend private messageVisit poster's website
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 5:44 pm Reply with quoteBack to top

Sure will! Thanks!

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 5:46 pm Reply with quoteBack to top

Our messages crossed. I will modify my message but not go into any detail. I will refer them to your site for further clarification, ok?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Holbrookau
Corporal
Corporal


Joined: May 31, 2003
Posts: 50


PostPosted: Fri Jun 06, 2003 5:53 pm Reply with quoteBack to top

Thats fine, thanks Raven.
BTW - can you get these damn Invalid_session errors fixed? - It's driving me nuts..
Find all posts by HolbrookauView user's profileSend private messageVisit poster's website
Cracker
Nuke Soldier
Nuke Soldier


Joined: May 27, 2003
Posts: 14


PostPosted: Fri Jun 06, 2003 6:00 pm Reply with quoteBack to top

I concur with people applying other modules like NSN groups, etc. causing the issue. I have been careful in looking for difference in the files and applying the changes that make sense. Even though I am a relative newbie to nuke, I have applied "patches" to other programs and the new people may not be aware of how this system work. I think people just install files and expect it to just work. This might get worse with the different possible forks from phpnuke. Oh well, some of us will be able to deal with it!

Thanks for all your work on this stuff!

Cracker
Find all posts by CrackerView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 6:07 pm Reply with quoteBack to top

Holbrookau wrote:
Thats fine, thanks Raven.
BTW - can you get these damn Invalid_session errors fixed? - It's driving me nuts..

Laughing
You mean here at NC? I've griped to ZX and he turns a deaf ear Laughing not really. We're moving to a better server environment soon, so, hopefully those errors will go away, assuming that's what you are referring to.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 6:12 pm Reply with quoteBack to top

Cracker wrote:
I concur with people applying other modules like NSN groups, etc. causing the issue. I have been careful in looking for difference in the files and applying the changes that make sense. Even though I am a relative newbie to nuke, I have applied "patches" to other programs and the new people may not be aware of how this system work. I think people just install files and expect it to just work. This might get worse with the different possible forks from phpnuke. Oh well, some of us will be able to deal with it!

Thanks for all your work on this stuff!

Cracker

I use and highly recommend a file comparison program (understatement) called CompareIT. To me, it is phenominal for digging out the real differences between 2 files. And it will even create diffs, unified diffs, and reports. Read my review

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
beebar
Private
Private


Joined: Apr 07, 2003
Posts: 45


PostPosted: Fri Jun 06, 2003 8:21 pm Reply with quoteBack to top

I altered the table and it fixed my edit admin problem. I dont need a calendar admin. But I still get a blank screen when I try to delete an event in the calendar. Any ideas?
Find all posts by beebarView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jun 06, 2003 8:24 pm Reply with quoteBack to top

If you deleted the column, then you hosed up the calendar module. Is that what you did? If so, put it back.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff

Last edited by Raven on Fri Jun 06, 2003 8:35 pm; edited 1 time in total
Find all posts by RavenView user's profileSend private messageVisit poster's website
beebar
Private
Private


Joined: Apr 07, 2003
Posts: 45


PostPosted: Fri Jun 06, 2003 8:31 pm Reply with quoteBack to top

I dont think that was it, I always had that problem. I guess after reading more of the posts, I'll download 2.11 again and redo the install.


Last edited by beebar on Fri Jun 06, 2003 8:40 pm; edited 1 time in total
Find all posts by beebarView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.053 Seconds - 108 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::