|
|
|
Mamblog Error
|
|
Date: 2008/06/14 01:12
|
By: zacharyyoung
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 24 |   | |
|
|
Okay, on my site, I installed Mamblog. I got the most part working, but I can;t post a blog entry. It says that I must login, but I'm already logged in. What should I do?
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Mamblog Error
|
|
Date: 2008/06/22 17:02
|
By: joeofall
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
same here !! i using 1.5.2 joomla with 1.1 cb mamblog 1.0
please help thank you
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Mamblog Error
|
|
Date: 2008/06/24 23:53
|
By: khansen46
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
Same here. Joomla 1.5.3 CB 1.1 When I try to go into the Mamblog config, I get this: "Your config file is You need to chmod this to 766 in order for the config to be updated." I have found numerous references to this error, but not a single response to help with it. If anyone has any ideas, it would sure be appreciated.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Mamblog Error
|
|
Date: 2008/09/09 19:22
|
By: rholzler
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
The file you are looking for is:
/components/com_mamblog/configuration.php
However, the problem is most likely not the CHMOD.
I have looked at the source code for this software and found that is uses the GLOBAL function which is disabled on many web servers. You can try turning on the register_globals PHP option, but it does create a security issue.
I was able to bypass this problem by editing
administrator/components/com_mamblog/admin.mamblog.php Lines 69 & 70 function showConfig($database, $mosConfig_absolute_path, $option, $cfgfile, $cfg_mamblog, $blogadmin) { // global $database, $mosConfig_absolute_path, $option, $cfgfile, $cfg_mamblog, $blogadmin;
This resulted in another error:
Fatal error: Call to a member function showAdminPages() on a non-object in /home/.../administrator/components/com_mamblog/admin.mamblog.php on line 253
If I find a fix for this, I wil post it.
Post edited by: rholzler, at: 2008/09/09 19:23
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Mamblog Error
|
|
Date: 2008/11/15 23:57
|
By: snakes
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
"Call to a member function showAdminPages()" edit adminis trator/components/com_mamblog/admin.mamblog.php and you see that the function showAdminPages() is calling a global variable $blogamin.
But in Joomla 1.5 all global variables need to be declared as global outside of all functions!
So look at line 39: $blogadmin = new HTML_mamblog_admin();
Just add before that line: global $blogadmin;
also at around line 35: $cfgfile = "$mosConfig_absolute_path/components/$option/configuration.php";
Add these before: global $cfgfile; global $cfg_mambot; global $option;
Post edited by: snakes, at: 2008/11/16 00:03
|
|
The administrator has disabled public write access. |
|
|