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.9
Author Message
abuy
New Member
New Member



Joined: Mar 27, 2006
Posts: 4

PostPosted: Wed Mar 29, 2006 6:38 pm Reply with quote

any body know how to fix this error in KalenderMX modules version 1.4.c

i found this error message :

You don't have permission to access this file!

Login as Calendar-Admin

and this to

Error:
can't find file: modules/Kalender/admin/main.php

You must change the constant "CAL_MODULE_NAME" in file: html\admin\case\case.calendar.php.
Or some Files are corrupted.
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Mar 30, 2006 2:17 pm Reply with quote

Hmm well I think they're related.

Do you have the file modules/Kalender/admin/main.php ?
If not, it says to define "CAL_MODULE_NAME" to whatever module you've named it

I think once that's done, it will probably give the permissions to get in

_________________
- 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
mds
Client



Joined: Dec 24, 2004
Posts: 194
Location: Michigan

PostPosted: Thu Mar 30, 2006 9:49 pm Reply with quote

i got this as well i found that the kalendar module wasnt in my module directory uploaded the module a walah the error disappeared......
 
View user's profile Send private message
abuy







PostPosted: Fri Mar 31, 2006 6:25 pm Reply with quote

Do you have the file modules/Kalender/admin/main.php ?
yes i have upload it everything in modules/Kalender

modules\Kalender\admin
modules\Kalender\categories
modules\Kalender\config
modules\Kalender\docs
modules\Kalender\images
modules\Kalender\language
modules\Kalender\overlib
modules\Kalender\sql
modules\Kalender\style

i have try delete all Kalender Modules and upload again, but still not working ..!


i try to fix file functions.php in modules\Kalender\includes
i try to insert $admin and returtn is_admin($admin);

this the line

function calIsAdmin()
{
global $admin, $dbi, $calconf, $prefix, $db, $admin_file, $aid, $Version_Num;
return is_admin($admin);
static $admintest;

and then i got this error

Database-Error!

goto Setup
 
fizzgigg
New Member
New Member



Joined: May 17, 2006
Posts: 3

PostPosted: Fri May 19, 2006 8:34 am Reply with quote

i cant believe this is such a nice module, and I can not find one website that has a patch or a way to add another admin besides God to modify things. I just want to be able to make an admin to edit this besides me. There is even a spot for it in the Calendar Administration menu. But the only that highlights is SuperUser. Any answers or suggestions?
 
View user's profile Send private message
gamerevolt
New Member
New Member



Joined: Apr 25, 2006
Posts: 19

PostPosted: Tue Jun 06, 2006 9:02 pm Reply with quote

I have gotten this working... But it takes manual intervention and then you will not be able to use Edit Admins now... Maybe someone can help me with that?

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

I am running PHP-Nuke 7.8... This shold be all you need to do... Can anyone tell me what to edit in \admin\modules\authors.php to get edit admins to work again since I ran the SQL command above from the above link.
 
View user's profile Send private message
fizzgigg







PostPosted: Sun Jun 11, 2006 7:29 pm Reply with quote

I doubt anyone will help us man.
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sun Jun 11, 2006 7:36 pm Reply with quote

sorry for the delayed response...now its time to look into this with some pertinence...First off delete or undo ALL edits made

Then we want to look in the admin folder for anything called case

Now in here u should see a line with the word god...if u post the code i can show u a code to replace that with...seeing the code will let me see what version of patch its tryin to use

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
fizzgigg







PostPosted: Mon Jun 12, 2006 4:12 pm Reply with quote

Well I could not find anthing referring to God in the module. The most I could find is the config.php in the \Kalendar\Admin\config folder. Although I do not know if this will help you. Do you have a working copy of this? Can you just post your code?

Code:
$index = 0;

$calconf['defaultview']     = 'month';
$calconf['minuterange']     = '15';
$calconf['usetopics']       = '1';
$calconf['searchTopics']    = '0';
$calconf['searchcount']     = '30';
$calconf['allowaddarticle'] = '1';
$calconf['allowuserpost']   = '1';
$calconf['userautoactive']  = '1';
$calconf['allowanonpost']   = '1';
$calconf['anonautoactive']  = '1';
$calconf['AdminEditAll']    = '1';
$calconf['AdminMenu']       = '0';
$calconf['AdminType']       = 'radminsuper';
$calconf['listcount']       = '20';
$calconf['listStarttime']   = '1';
$calconf['listEnddate']     = '1';
$calconf['listEndtime']     = '1';
$calconf['listEnddate2']    = '0';
$calconf['listBrTime']      = '1';
$calconf['catListCols']     = '5';
$calconf['listshowlinks']   = '0';
$calconf['TextEvents']      = '0';
$calconf['ShowPopup']       = '1';
$calconf['showlinks']       = '0';
$calconf['TimeArray']       = array('09:00:00','10:00:00','11:00:00','12:00:00','14:00:00','16:00:00','18:00:00','19:00:00','20:00:00');
$calconf['wysiwyg']         = '1';
$calconf['AllowableHTML']   = array('br','img','a','u','b','i','em','ol','ul','li','tt','blockquote');

/************************************************************************/
// DONT CHANGE ANYTHING BEHIND THIS LINE!!!!!
if (!defined('CAL_MODULE_NAME')) die ("You can't access this file directly...");
?>


Thanks for the help.
 
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.9

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 ©