Fatal error: Call to undefined function: preg_split() Fatal error: Call to undefined function: preg_split()
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Fatal error: Call to undefined function: preg_split()

Started by lukaszja, February 09, 2005, 05:25:33 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

lukaszja

Hi everybody!
I tried to install coppermine gallery on my friends server. He told me, he has all function i need (MySQL, PHP ver 4.2.3 ect.). I uploaded all files, changed access to some directories using chmod as it was wrote in tutorial and wanted to start install.php.
I got only:
Fatal error: Call to undefined function: preg_split() in /home/users/lukaszja/public_html/coppermine/install.php on line 21

where line 21 of install.php is:  

$DIR=preg_split("/[\/\\\]/",dirname($_SERVER['PATH_TRANSLATED']));

whats up?
thx for answer!
lukaszja

kegobeer

preg_split is a built-in php function.  If you get that error, there's a problem with PHP.  You should try searching the web for Call to undefined function: preg_split, and maybe check out www.php.net for more help.  You should also tell your friend about it, since it's his server.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

lukaszja

HI!
Unfortunatelly, my friend is already passing exams, so he couldn't help me!
Any other ideas, what can I do with this bug?
I read, that it may be a probelm with some strings in php.ini configuration file? Is it true? Which one?
thx for replay, lukaszja

Tranz

You might want to get a webhost that is available 24/7. ;)

lukaszja

Hi!
Could you write something more about webhost? Especially, what's this and where can i get it?
Google gives me a lot pages and informations about it!
Please be patient, i'm a lawyer... :D

Joachim Müller

a webhost is someone who let's you have webspace on his server and runs the server for you (that's what you friend currently does for you). TranzNDance was suggesting you get someone to host your web site who is available for support, as we can't help you with this issue, you either need your friend's help or you need to find a good webhost. Check the "general discussion" board, there's a thread about webhost recommendations.

Joachim

lukaszja

Hi
Now I understand! I'm really freshman...
Thx for reply, lukaszja