Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 266171

Summary: www-apps/ampache error in generated config file ampache.cfg.php
Product: Gentoo Linux Reporter: Edmund Urbani <emu>
Component: Current packagesAssignee: Kristian Fiskerstrand (RETIRED) <k_f>
Status: RESOLVED FIXED    
Severity: major CC: xmw
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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