RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 07-15-2009, 04:59 PM
Registered User
 
Join Date: Jul 2009
Posts: 16
Default PHP 5.3 latest

PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\inclu de\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\P EAR.php on line 563 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\P EAR.php on line 566 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\M DB2.php on line 392 PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\inetpub\wwwroot\roundcubemail_cds\program\lib\M DB2.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

Last edited by sckramer; 07-15-2009 at 06:11 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-15-2009, 06:07 PM
Registered User
 
Join Date: Jul 2009
Posts: 16
Default things I tried:

error_reporting(0);

this clears up some warnings... but not all--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 09-02-2009, 12:21 PM
Registered User
 
Join Date: Sep 2009
Posts: 2
Default Snow Leopard

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:

Code:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-10-2009, 11:41 AM
Registered User
 
Join Date: Jun 2008
Posts: 4
Unhappy Snow Leopard Server

Quote:
Originally Posted by Rustig View Post
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:

Code:
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 09-29-2009, 05:36 AM
Registered User
 
Join Date: Sep 2009
Posts: 2
Default solved

Had succes with help from DIYMacServer 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

Quote:


---

MySQL (64 bit) installeren via DMG installer http://dev.mysql.com/downloads/mysql...tml#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-my...-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-m...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

Last edited by Rustig; 09-29-2009 at 05:48 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community