Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 php function issue on install script

closed
Jason Sessler
5
2005-07-19
2005-04-15
pboles
No

Thanks for all you work. I would love to try out your
program but am unable to get it to work. My error is as
follows..

Fatal error: Call to undefined function: preg_split()
in /usr/home/www/lib/html.inc.php on line 39

I am getting this error when trying to run install.php?

Any suggestions

FreeBSD
Apache 1.3
php 4.3.9

Thanks

Discussion

  • Jason Sessler
    Jason Sessler
    2005-06-07

    • assigned_to: nobody --> jsessler
     
  • Jason Sessler
    Jason Sessler
    2005-06-07

    Logged In: YES
    user_id=272241

    Sorry for the delay here.. For some reason sf.net is not
    sending us emails when things are added to support, or bugs.

    If you want, you can replace Line 39:

    $_a_LINE = preg_split("/\n/", $filling, -1,
    PREG_SPLIT_NO_EMPTY);
    with
    $_a_LINE = explode("\n", $filling);

    This should work, if you still have problems you can try:
    $_a_LINE[] = $filling;

    Hope this helps.

     
  • Jason Sessler
    Jason Sessler
    2005-07-19

    Logged In: YES
    user_id=272241

    No word on if this is fixed or not. Closing based on support
    request's age, and lack of activity.

     
  • Jason Sessler
    Jason Sessler
    2005-07-19

    • status: open --> closed