Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 78761

Summary: Installer of phpAdsNew doesn't work
Product: [Retired] Red Hat Linux Reporter: Need Real Name <redhat.angus>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-29 10:05:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Need Real Name 2002-11-29 08:36:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2) Gecko/20021127

Description of problem:
On http://localhost/admin/install.php:
Fatal error: Cannot redeclare phpads_isconfigwritable() (previously declared in
/var/www/html/admin/ in
/var/www/html/admin/ on line 28

Explanation from phpAdsNew forum:
Someone told me that there might be problems with php-support with the Apache
version 2.0 that comes with Redhat 8.

He said that the php-support is "experimental".

Maybe You should downgrade Your Apache-version to 1.3.27.

Any help will be appreciate.
Keep the good work.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Start httpd and mysqld services
2.untar phpAdsNew release or cvs under /var/www/html
3.start a browser pointing on http://localhost/

Actual Results:  Fatal error: Cannot redeclare phpads_isconfigwritable()
(previously declared in /var/www/html/admin/ in
/var/www/html/admin/ on line 28

Expected Results:  I should have the installer of phpAdsNew.

Additional info:

I can't "downgrade" to Apache 1.3.x, my server is in production now.
How can I do?
I hope there will be an errata for php because it appears there is a lot  of
problem with the interaction with Apache 2.0.x

Comment 1 Joe Orton 2002-11-29 09:50:57 UTC
In /etc/php.ini, change the setting:

  short_open_tag = Off


  short_open_tag = On

Comment 2 Need Real Name 2002-11-29 10:03:34 UTC
I'm sorry but I changed this directive as you said in php.ini, restarted apache,
verified with phpinfo that short_open_tag is On, but the problem still remains
as you can see:

Fatal error: Cannot redeclare phpads_isconfigwritable() (previously declared in
/var/www/html/admin/ in
/var/www/html/admin/ on line 28

Comment 3 Joe Orton 2002-11-29 10:05:09 UTC
Then it WORKSFORME, at least.

I downloaded on a clean 8.0 install, set
short_open_tag = On, and I can load the installer page.  Maybe you can try a
different version of phpAdsNew?

Comment 4 Need Real Name 2002-11-29 10:10:55 UTC
My firsts tests were done with both cvs edition and official release but for
this last test (short_open_tag), I have only tested with cvs edition.

It works perfectly now with the official release, I thank you very much for your
so quick answer.

Keep the good work