manish-yadav / pdns-gui

Automatically exported from code.google.com/p/pdns-gui
0 stars 0 forks source link

PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/pdns-gui/batch/install.php on line 152 #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow the instructions on the project page to install pdns + requirements
2. Download pdns-gui under /var/www/ and decompress.
3. cd to /var/www/pdns-gui/batch/ and run ./install.sh

What is the expected output? What do you see instead?
PHP Fatal error: Call-time pass-by-reference has been removed in 
/var/www/pdns-gui/batch/install.php on line 152

What version of the product are you using? On what operating system?
0.3.3 on Ubuntu 12.10 server x64

Please provide any additional information below.

Original issue reported on code.google.com by klo...@gmail.com on 24 Mar 2013 at 2:30

GoogleCodeExporter commented 8 years ago
Hi there,

Received a similar error on Debian Wheezy 7.0. The errors are probably related 
to php5.4.

Removing the & in /var/www/pdns-gui/batch/install.php on line 152 solved the 
1st problem. See also http://stackoverflow.com/a/8971301

* Another error came up: Configuration file 
"/var/www/pdns-gui.0.3.3/config/../data/symfony/config/php.yml" specifies key 
"magic_quotes_runtime" which is not a php.ini directive.

* Removing that directive led to the next error: Configuration file 
"/var/www/pdns-gui.0.3.3/config/../data/symfony/config/php.yml" specifies key 
"zend.ze1_compatibility_mode" which is not a php.ini directive.

* Removing that directive led to the next error: Configuration file 
"/var/www/pdns-gui.0.3.3/config/../data/symfony/config/php.yml" specifies key 
"magic_quotes_gpc" which is not a php.ini directive.

* Removing that directive led to the next error: Configuration file 
"/var/www/pdns-gui.0.3.3/config/../data/symfony/config/php.yml" specifies key 
"register_globals" which is not a php.ini directive.

* Removing that directive made it look promising :D A website was loading and 
then "Application failed to initialized correctly. Please reload in a few 
moments, and if this message apears again, contact our support team."

* But..during install I ran into this: PHP Strict Standards:  Declaration of 
UnixFileSystem::getBooleanAttributes() should be compatible with 
FileSystem::getBooleanAttributes($f) in 
/var/www/pdns-gui.0.3.3/lib/symfony/vendor/phing/system/io/UnixFileSystem.php 
on line 266
Buildfile: /var/www/pdns-gui.0.3.3/lib/symfony/vendor/propel-generator/build.xml

It seems to me php5.4 is a bit farfetched for pdns-gui.0.3.3 ;-) 
The symfony plugin for Propel needs to be adjusted too for this to work.

||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-==============
==========================================
ii  apache2                   2.2.22-13         amd64             Apache HTTP 
Server metapackage
ii  mysql-server              5.5.31+dfsg-0+whe all               MySQL 
database server (metapackage depending on the late
ii  pdns-backend-mysql        3.1-4             amd64             generic MySQL 
backend for PowerDNS
ii  pdns-server               3.1-4             amd64             extremely 
powerful and versatile nameserver
ii  php5                      5.4.4-14          all               server-side, 
HTML-embedded scripting language (metapacka
ii  php5-cli                  5.4.4-14          amd64             command-line 
interpreter for the php5 scripting language
ii  php5-mysql                5.4.4-14          amd64             MySQL module 
for php5
ii  php5-xsl                  5.4.4-14          amd64             XSL module 
for php5

Original comment by tijn.lam...@gmail.com on 10 Jun 2013 at 12:14