Hi.
Can any one help me with the following problem:
Fatal error: Call to undefined function: preg_split() in /usr/local/www/coppermine/install.php on line 21
Running on:
FreeBSD 5.2.1-RELEASE #0
coppermine-1.3.2 Coppermine is a web picture gallery script
php4-4.3.8_2 PHP Scripting Language (Apache Module and CLI)
php4-gd-4.3.8_2 The gd shared extension for php
php4-mysql-4.3.8_2 The mysql shared extension for php
mysql-client-4.0.21 Multithreaded SQL database (client)
mysql-server-4.0.21 Multithreaded SQL database (server)
(has been installed from ports)
bg
Brian Ibsen
Quote from: bibsen on October 04, 2004, 09:25:04 AM
(has been installed from ports)
What do you mean by that? Where did you get the package from? Post a link to your site.
Joachim
P.S. Is there any particular reson for posting this on the cpg1.2 support board, while you claim you have cpg1.3.2?
Ports is kind of a makefile collection which are in lots of most distributions of linux/unix/bsd....
the makefile does not exactly descibe the exact package.. this is the info in the makefile.
PORTNAME= coppermine
PORTVERSION= 1.3.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= cpg${PORTVERSION}
so package should be named cpg1.3.2
And the reason for using the wrong place to post is, or course, just a mistake..
I just tried to get some new files from http://heanet.dl.sourceforge.net/sourceforge/coppermine/cpg1.3.2.zip
but problem remains.
(i have also tried to chmod 777 coppermine/* and chown/chgrp to www which my apache runs as)
/Brian Ibsen
That is supposed to be a standard PHP function, I'd be looking at your PHP installation to fix this issue.
well.. just had an extra look at the cpg requirements
"the script should work with any version >= 4.1.0"
And as I'm using php4-4.3.8_2 I might need to upgrade.
I looks like some extra parameter flags has been implemented to preg_split i PHP > php3-beta3 so this could be the problem.
ups.. my mistake..
But eventhough i tried to upgrade.
So now I'm using php5, php5-gd, php-mysql
Still exactly the same problem....
problem is fixed...
problem was a wrong path to some includes in php.ini
Im having the same problem, can you tell me what paths you needed to change?