Author |
Message |
abuy
New Member


Joined: Mar 27, 2006
Posts: 4
|
Posted:
Wed Mar 29, 2006 6:38 pm |
|
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. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Thu Mar 30, 2006 2:17 pm |
|
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! |
|
|
 |
mds
Client

Joined: Dec 24, 2004
Posts: 194
Location: Michigan
|
Posted:
Thu Mar 30, 2006 9:49 pm |
|
i got this as well i found that the kalendar module wasnt in my module directory uploaded the module a walah the error disappeared...... |
|
|
|
 |
abuy

|
Posted:
Fri Mar 31, 2006 6:25 pm |
|
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


Joined: May 17, 2006
Posts: 3
|
Posted:
Fri May 19, 2006 8:34 am |
|
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? |
|
|
|
 |
gamerevolt
New Member


Joined: Apr 25, 2006
Posts: 19
|
Posted:
Tue Jun 06, 2006 9:02 pm |
|
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. |
|
|
|
 |
fizzgigg

|
Posted:
Sun Jun 11, 2006 7:29 pm |
|
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
|
Posted:
Sun Jun 11, 2006 7:36 pm |
|
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!! |
|
 |
 |
fizzgigg

|
Posted:
Mon Jun 12, 2006 4:12 pm |
|
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. |
|
|
|
 |
|