PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\include\iniset.php on line 63 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\PEAR.php on line 563 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\PEAR.php on line 566 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\MDB2.php on line 392 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\MDB2.php on line 2614
I dont even get the login page...
I can comment out set_magic_quotes_runtime() & fix iniset.php--
How do I fix this...? it's running on the newest php, windows...
also I tried newer versions of rc, including today's latest svn version
error_reporting(0);
this clears up some warnings... but not all--
After upgrading from Leopard to Snow Leopard i have the same problem (i think it has something to do with the PHP version 5.3.0)
I was using RoundCube version 2.1
My error on the front page is: (also no login screen)
.../program/lib/iniset.php on line 63
.../program/lib/PEAR.php on line 563
.../program/lib/PEAR.php on line 566
Roundcube was working great on my OSX (Leopard) but after the upgrade to Snow Leopard it stopt working.
No login screen anymore and when i remove the .htaccess it gave me the errors you can see above.
Reinstalled MySQL (new database) no sollution. Used the Roundcube 3 beta, here is some differents, i can see the login screen again, its not working because i got an error about Roundcube cant use cookies, but my configuration is able to accept cookies.
The Installer pages result also in error:
main.inc.php: OK
db.inc.php: OK
Check if directories are writable
RoundCube may need to write/save files into these directories
temp/: OK
logs/: OK
Check configured database settings
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 392
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 2613
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 563
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 566
DSN (write): OK
DB Schema: OK
DB Write: OK
DB Time: OK
Hope someone can help me...
Thanks in advance,
Mike
Quote from: Rustig;20897After upgrading from Leopard to Snow Leopard i have the same problem (i think it has something to do with the PHP version 5.3.0)
I was using RoundCube version 2.1
My error on the front page is: (also no login screen)
.../program/lib/iniset.php on line 63
.../program/lib/PEAR.php on line 563
.../program/lib/PEAR.php on line 566
Roundcube was working great on my OSX (Leopard) but after the upgrade to Snow Leopard it stopt working.
No login screen anymore and when i remove the .htaccess it gave me the errors you can see above.
Reinstalled MySQL (new database) no sollution. Used the Roundcube 3 beta, here is some differents, i can see the login screen again, its not working because i got an error about Roundcube cant use cookies, but my configuration is able to accept cookies.
The Installer pages result also in error:
main.inc.php: OK
db.inc.php: OK
Check if directories are writable
RoundCube may need to write/save files into these directories
temp/: OK
logs/: OK
Check configured database settings
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 392
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/MDB2.php on line 2613
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 563
Deprecated: Assigning the return value of new by reference is deprecated in /Users/xxx/Sites/rc/program/lib/PEAR.php on line 566
DSN (write): OK
DB Schema: OK
DB Write: OK
DB Time: OK
Hope someone can help me...
Thanks in advance,
Mike
I am also having these exact same issues with snow leopard server. Anyone have any tips for fixing this issue?
Had succes with help from DIYMacServer Installing everything on Snow Leopard (http://diymacserver.com/installing-everything-on-snow-leopard/)
Credits goes to Richard for helping me out installing PHP 5.2.11 on my Snow Leopard.
In my previous attempts it did not worked with version PHP 5.2.10 but with the new 5.2.11 in combination with the latest stable version of Roundcubemail it works like a charm.
Here are my fast scratch steps how i did it, try to run true this in combination with the detail explanations from Richard -> DIYMacserver.com (http://diymacserver.com/installing-everything-on-snow-leopard/)
Quote---
MySQL (64 bit) installeren via DMG installer http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg
PreferencePane installeren
MySQL source downloaden voor later gebruik http://dev.mysql.com/downloads/mysql/5.1.html#source
- MySQL met shared libraries http://diymacserver.com/compiling-mysql-5-1-x-in-64-bits-mode-on-snow-leopard/
Ga naar de reeds gedownloade Source (tar) file en voer onderstaande uit
CFLAGS="-arch x86_64" \
CXXFLAGS="-arch x86_64"
./configure -prefix=/usr/local/mysql \
-with-server-suffix=-standard \
-enable-thread-safe-client \
-enable-local-infile \
-enable-shared \
-with-zlib-dir=bundled \
-with-big-tables \
-with-readline \
-with-plugins=all \
-without-docs
make
sudo make install
- configureren MySQL http://diymacserver.com/installing-mysql/securing-your-mysql-install/
chmod 644 /etc/my.cnf
mysql> drop database test;
mysql> use mysql;
mysql> delete from db;
mysql> delete from user where User = '';
mysql> flush privileges;
mysql> update user set Password=PASSWORD('new_password')
where User='root';
mysql> flush privileges;
mysql> update user set user="mydbadmin" where user="root";
mysql> flush privileges;
---
PCRE downloaden http://www.pcre.org/
Installeren in 64 bit mode:
CFLAGS="-arch x86_64" \
CXXFLAGS="-arch x86_64"
./configure
make
sudo make install
---
PHP 5.2.11 downloaden: http://www.php.net/
export MACOSX_DEPLOYMENT_TARGET=10.5 \
CFLAGS="-arch x86_64" \
CXXFLAGS="-arch x86_64"
./configure --prefix=/usr/local/php5 \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc \
--with-config-file-path=/etc \
--with-zlib \
--with-zlib-dir=/usr \
--with-openssl \
--without-iconv \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-mbregex \
--enable-sockets \
--with-mysql=/usr/local/mysql \
--with-pdo-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-apxs2=/usr/sbin/apxs \
--with-pcre-dir=/usr/local/lib
nano makefile
(zoek naar EXTRA_LIBS) en dit toevoegen aan het einde van de regel: -lresolv
voorbeeld:
EXTRA_LIBS = -lmysqlclient -lssl -lcrypto -lz -lssl -lcrypto -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lmysqlclient -lz -lm -lmysqlclient -lz -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lresolv
make
sudo make install
---
httpd.conf aanpassen:
LoadModule php5_module /usr/libexec/apache2/libphp5.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Mike
Also see http://www.roundcubeforum.net/5-release-support/16-requests/8858-php-5-3-5-4-compatiility-fixes.html