Bug 78761 - Installer of phpAdsNew doesn't work
Installer of phpAdsNew doesn't work
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-11-29 03:36 EST by Need Real Name
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-11-29 05:05:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-11-29 03:36:05 EST
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/lib-config.inc.php:30) in
/var/www/html/admin/lib-config.inc.php 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/lib-config.inc.php:30) in
/var/www/html/admin/lib-config.inc.php 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 04:50:57 EST
In /etc/php.ini, change the setting:

  short_open_tag = Off


  short_open_tag = On

Comment 2 Need Real Name 2002-11-29 05:03:34 EST
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/lib-config.inc.php:30) in
/var/www/html/admin/lib-config.inc.php on line 28
Comment 3 Joe Orton 2002-11-29 05:05:09 EST
Then it WORKSFORME, at least.

I downloaded phpAdsNew-dev16092002.zip 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 05:10:55 EST
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

Note You need to log in before you can comment on or make changes to this bug.