Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


Mamblog Error
Date: 2008/06/14 01:12 By: zacharyyoung Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 24
graphgraph
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?
Click here to see the profile of this user 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
graphgraph
same here !! i using 1.5.2 joomla with 1.1 cb
mamblog 1.0

please help thank you
Click here to see the profile of this user 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
graphgraph
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.
Click here to see the profile of this user 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
graphgraph
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
Click here to see the profile of this user 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
graphgraph
"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
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login