Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266171 - www-apps/ampache error in generated config file ampache.cfg.php
Summary: www-apps/ampache error in generated config file ampache.cfg.php
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Kristian Fiskerstrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-14 21:02 UTC by Edmund Urbani
Modified: 2016-01-08 17:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edmund Urbani 2009-04-14 21:02:36 UTC
The webbased setup process generates a config file in step 2. However that file contains the following line, which prevents it from being properly parsed:

rss_main_copyright = copyright (c) Speedy B for Ampache

The round brackets are the problem, at least with my version of php (dev-lang/php-5.2.8-r2).

Reproducible: Always

Steps to Reproduce:
1.emerge ampache
2.follow web-based install instructions (http://localhost/ampache/)
3.create ampache.cfg.php in step two and copy into ampache's config folder as instructed by setup routine

Actual Results:  
I get this error message:

Error: Config file detected, Ampache is already installed

Expected Results:  
Proceed to step three of setup and create user account to finish up installation
Comment 1 Michael Weber (RETIRED) gentoo-dev 2009-09-11 02:07:00 UTC
This issue also affects dev-lang/php-5.2.9-r2 (with www-apps/ampache-3.4.3).
Calling test.php, this parser error leads to some strange mysql connects as 'apache'@'localhost' followed by 'no database specified' from mysql. 

Direct calls "php index.php" and "php update.php" do segfault with-lang/php-5.2.10 and dev-lang/php-5.2.10-r1. Apache's php thread segfaults, too.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-01-08 17:16:41 UTC
Please re-open if issue persists in 3.8.1