Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102538 - mambo-2.5.2.3 + php-4.4.0 faulty admin-interface
Summary: mambo-2.5.2.3 + php-4.4.0 faulty admin-interface
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-14 13:00 UTC by Benjamin
Modified: 2005-08-24 16:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
snapshot direct-install1 (mambo-direct-install1.jpg,180.86 KB, image/jpeg)
2005-08-21 08:53 UTC, Benjamin
Details
snapshot direct-install2 (mambo-direct-install2.jpg,86.16 KB, image/jpeg)
2005-08-21 08:54 UTC, Benjamin
Details
snapshot portage-install1 (mambo-portage-install1.jpg,104.38 KB, image/jpeg)
2005-08-21 08:54 UTC, Benjamin
Details
snapshot portage-install2 (mambo-portage-install2.jpg,75.63 KB, image/jpeg)
2005-08-21 08:55 UTC, Benjamin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin 2005-08-14 13:00:46 UTC
Hi,
I try to emerge mambo-2.5.2.3 from portage and after stetting up mysql and
finish installing, mambo's admin-interface doesn't work correct.

1st: there is top-down menu after login to admin-page
2rd: there is no possibility to install templets
3rd: the standard page get no default-templet

A friend of mine has been using mambo for about 1 years - but not on Gentoo
system. He suggest to try the original source package from source. After
un-emerge mambo and load the source from www.mamboportal.com, extract it and
place it in /var/www/localhost/htdocs/, setting up DB and configure it, the
described problems above doesn't occurs.

I take a look in the ebuild, written for portage. The is a notice to install
mambo only with an installed php version, which was compiled with "mysql, zlib 
and xml" support. But the current stable php-4.4.0 release doesn't support the
"zlib" flag.

Can you check the ebuild please?


Thx,
Ben

Reproducible: Always
Steps to Reproduce:
1. install mambo
2. set it up
3. have a look at the admin page

Actual Results:  
1st: there is top-down menu after login to admin-page
2rd: there is no possibility to install templets



Expected Results:  
show the top-down menu, so I can configure mambo, e.g. install new templet
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2005-08-15 16:29:53 UTC
Admin menu works here, templates install just fine. Perhaps your directory
permissions are incorrect?

Re zlib - updated ebuild.
Comment 2 Benjamin 2005-08-15 17:30:07 UTC
> Admin menu works here, templates install just fine. Perhaps your directory
> permissions are incorrect?

I try several portage installation, but with no effect. Only install sources 
from mamboportal.com get the admin menu working. How can I check the directory 
permissions to check it out?

Thx,
Ben
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2005-08-15 17:31:50 UTC
Please describe step-by-step how you install mambo. Alternatively, catch me on
IRC (rl03)
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2005-08-19 12:29:13 UTC
Please post the info and reopen.
Comment 5 Benjamin 2005-08-21 08:53:40 UTC
Created attachment 66481 [details]
snapshot direct-install1
Comment 6 Benjamin 2005-08-21 08:54:12 UTC
Created attachment 66482 [details]
snapshot direct-install2
Comment 7 Benjamin 2005-08-21 08:54:55 UTC
Created attachment 66483 [details]
snapshot portage-install1
Comment 8 Benjamin 2005-08-21 08:55:21 UTC
Created attachment 66484 [details]
snapshot portage-install2
Comment 9 Benjamin 2005-08-21 08:56:06 UTC
Hi Renat Lumpau,
sorry for the delay. Below my step-by-step installation using portage:

1. emerge mambo
2. run "ebuild /var/db/pkg/www-apps/mambo-4.5.2.3/mambo-4.5.2.3.ebuild config"
   and add DB and DB_USER
3. Restart Apache
4. Login to mambo and go through the web-install, and create configuration.php
5. Set permissions:
   chown apache:apache configuration.php
   chmod u+w configuration.php
6. Login to mambo/administrator/

After this steps the "admin menu" doesn't appear. Furhtermore the standard
templet isn't installed. I add four Snapshots with mambo-direct-install and
mambo-portage-install.


Thx,
Ben
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2005-08-21 12:30:18 UTC
most definitely works here. In step 3 of the web installer, did you chmod your
directories to something?

can you paste the output of ll YOUR_MAMBO_DIR and ll YOUR_MAMBO_DIR/templates ?
Comment 11 Benjamin 2005-08-22 00:34:50 UTC
In step 3 I leave the permission defaults. I can't remember the default 
values. Below the directory of mambo and mambo/templets.

ls -l /var/www/localhost/htdocs/mambo/
total 97
-rw-r--r--   2 root   root   23333 Aug 21 17:08 CHANGELOG
-rw-r--r--   2 root   root    3725 Aug 21 17:08 INSTALL
-rw-r--r--   2 root   root   17977 Aug 21 17:08 LICENSE
drwxr-xr-x   9 root   root     360 Aug 21 17:10 administrator
drwxrwxr-x   3 apache apache   112 Aug 21 17:09 cache
drwxrwxr-x  16 apache apache   504 Aug 21 17:09 components
-rw-r--r--   1 apache apache  2275 Aug 21 17:43 configuration.php
-rw-r--r--   2 root   root    3663 Aug 21 17:08 configuration.php-dist
drwxr-xr-x   2 root   root     272 Aug 21 17:09 editor
-rw-r--r--   2 root   root    1269 Aug 21 17:08 globals.php
drwxr-xr-x   3 root   root    2528 Aug 21 17:09 help
-rw-r--r--   2 root   root     580 Aug 21 17:08 htaccess.txt
drwxrwxr-x   6 apache apache   384 Aug 21 17:11 images
drwxr-xr-x   9 root   root    1072 Aug 21 17:11 includes
-rw-r--r--   2 root   root    5332 Aug 21 17:08 index.php
-rw-r--r--   2 root   root    3365 Aug 21 17:08 index2.php
drwxrwxr-x   2 apache apache   184 Aug 21 17:11 language
-rw-r--r--   2 root   root     453 Aug 21 17:08 mainbody.php
drwxrwxr-x   6 apache apache   184 Aug 21 17:09 mambots
drwxrwxr-x   2 apache apache   112 Aug 21 17:09 media
drwxrwxr-x   2 apache apache  1296 Aug 21 17:09 modules
-rw-r--r--   2 root   root    2005 Aug 21 17:08 offline.php
-rw-r--r--   2 root   root     451 Aug 21 17:08 pathway.php
-rw-r--r--   2 root   root     286 Aug 21 17:08 robots.txt
drwxrwxr-x   6 apache apache   208 Aug 21 17:11 templates



ls -l /var/www/localhost/htdocs/mambo/templates/
total 4
drwxr-xr-x  4 root root 240 Aug 21 17:11 JavaBean
-rw-r--r--  2 root root  44 Aug 21 17:08 index.html
drwxr-xr-x  4 root root 240 Aug 21 17:11 rhuk_planetfall
drwxr-xr-x  4 root root  96 Aug 21 17:09 rhuk_solarflare
drwxr-xr-x  4 root root 240 Aug 21 17:11 rhuk_solarflare_ii
Comment 12 Renat Lumpau (RETIRED) gentoo-dev 2005-08-23 12:57:34 UTC
Your permissions appear to be fine. Perhaps there's an issue with your Apache
configs. Check your Apache logs in /var/log/apache[2]/error_log and access_log
and see if there's anything funny going on.

Are images displayed during the online install?

Are you starting with an empty / non-existent mambo directory (perhaps your
configuration.php is incorrect)?

What happens if you navigate directly to
YOUR_SITE/mambo/templates/rhuk_solarflare_ii/images/powered_by.png ? (check your
log files after you try this)
Comment 13 Benjamin 2005-08-23 18:00:30 UTC
(In reply to comment #12)
> Your permissions appear to be fine. Perhaps there's an issue with your Apache
> configs. Check your Apache logs in /var/log/apache[2]/error_log and access_log
> and see if there's anything funny going on.
/var/log/apache_error.log indicate no errors while trying to access mambo
/var/log/apache_access.log doesn't exist, also not found with "locate
apache_access.log". I can't check it, sorry.

> Are images displayed during the online install?
if you mean the web-install, yes, I see images and a designed webinterface.
 
> Are you starting with an empty / non-existent mambo directory (perhaps your
> configuration.php is incorrect)?
I start from fresh mambo install. But with no success. Please have a look at my
configuration.php

<?php
$mosConfig_offline = '0';
$mosConfig_host = 'localhost';
$mosConfig_user = 'mambo-user';
$mosConfig_password = 'mambo-passwort';
$mosConfig_db = 'mambo';
$mosConfig_dbprefix = 'mos_';
$mosConfig_lang = 'english';
$mosConfig_absolute_path = '/var/www/localhost/htdocs/mambo';
$mosConfig_live_site = 'http://Server/mambo';
$mosConfig_sitename = 'my-domain.de';
$mosConfig_shownoauth = '0';
$mosConfig_useractivation = '1';
$mosConfig_uniquemail = '1';
$mosConfig_offline_message = 'This site is down for maintenance.<br /> Please
check back again soon.';
$mosConfig_error_message = 'This site is temporarily unavailable.<br /> Please
notify the System Administrator';
$mosConfig_debug = '0';
$mosConfig_lifetime = '900';
$mosConfig_MetaDesc = 'Mambo - the dynamic portal engine and content management
system';
$mosConfig_MetaKeys = 'mambo, Mambo';
$mosConfig_MetaTitle = '1';
$mosConfig_MetaAuthor = '1';
$mosConfig_locale = 'en_GB';
$mosConfig_offset = '0';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideModifyDate = '0';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hideEmail = '0';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '0';
$mosConfig_sef = '0';
$mosConfig_vote = '0';
$mosConfig_gzip = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_link_titles = '0';
$mosConfig_error_reporting = -1;
$mosConfig_list_limit = '10';
$mosConfig_caching = '0';
$mosConfig_cachepath = '/var/www/localhost/htdocs/mambo/cache';
$mosConfig_cachetime = '900';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = 'benjamin@my-domain.de';
$mosConfig_fromname = 'my-domain.de';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_smtpauth = '0';
$mosConfig_smtpuser = '';
$mosConfig_smtppass = '';
$mosConfig_smtphost = 'localhost';
$mosConfig_back_button = '1';
$mosConfig_item_navigation = '1';
$mosConfig_secret = 'ZbXO3jkKF2bEw0tU';
$mosConfig_pagetitles = '1';
$mosConfig_readmore = '1';
$mosConfig_hits = '1';
$mosConfig_icons = '1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_dirperms = '';
$mosConfig_helpurl = 'http://help.mamboserver.com';
$mosConfig_mbf_content = '0';
setlocale (LC_TIME, $mosConfig_locale);
?>

> 
> What happens if you navigate directly to
> YOUR_SITE/mambo/templates/rhuk_solarflare_ii/images/powered_by.png ? (check your
> log files after you try this)
Trying to access
http://ip-address/mambo/templates/rhuk_solarflare_ii/images/powered_by.png
shows the powerd_by.pnp picture into my web-browser. apache_error.log get
entries, while connection to this page/image.


Interessting form me is the fact that mambo works, after downloading the package
direct from www.mamboportal.com --> extract it, configure db, running
web-installer. I try it using MamboV4.5.2-Stable.tar.gz


Thx,
Ben
Comment 14 Benjamin 2005-08-23 18:03:32 UTC
EDIT:

Trying to access
http://ip-address/mambo/templates/rhuk_solarflare_ii/images/powered_by.png
shows the powerd_by.pnp picture into my web-browser. apache_error.log get NO
entries, while connection to this page/image.
Comment 15 Renat Lumpau (RETIRED) gentoo-dev 2005-08-24 12:45:41 UTC
Is $mosConfig_live_site = 'http://Server/mambo'; exactly what you have in your
configuration.php? If so, that's your problem. That should be something like

http://CORRECT_URL_TO_YOUR_SERVER/mambo

To verify - browse to the front page of your (broken) gentoo mambo install, and
view the HTML source. Look for any image file, like powered_by.png, and check if
the URL is correct. I have a strong suspicion it won't be.

Comment 16 Benjamin 2005-08-24 16:36:17 UTC
Hi Renat Lumpau,
you are right. That was my problem. Thanks for you support regarding this issue.
I set this bug report to FIXED.

Many thanks.
Ben