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
Admin menu works here, templates install just fine. Perhaps your directory permissions are incorrect? Re zlib - updated ebuild.
> 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
Please describe step-by-step how you install mambo. Alternatively, catch me on IRC (rl03)
Please post the info and reopen.
Created attachment 66481 [details] snapshot direct-install1
Created attachment 66482 [details] snapshot direct-install2
Created attachment 66483 [details] snapshot portage-install1
Created attachment 66484 [details] snapshot portage-install2
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
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 ?
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
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)
(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
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.
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.
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