You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 54 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Fatal error: Call to undefined function preg_match() [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Spoonman
Nuke Soldier
Nuke Soldier


Joined: Sep 21, 2003
Posts: 15


PostPosted: Fri Dec 31, 2004 11:54 am Reply with quoteBack to top

Fatal error: Call to undefined function preg_match() in /www/knightsofni/html/mainfile.php on line 23

im running freebsd 5.3 release
apache 2
php5
msqli
msql version 4.1

Trying to use php-nuke 7.5

This is a fresh new install, never done it thru freebsd before tho

ive searched the boards for this error and to no avail. Any ideas on this would be much appreciated

you can check site at http://knightsofni.dyndns.org

Thanks in advance
Find all posts by SpoonmanView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Fri Dec 31, 2004 2:17 pm Reply with quoteBack to top

preg_match is a PHP function

Here it is in PHP versions: PHP 3>= 3.0.9, PHP 4 , PHP 5

Looks like something is wrong with your PHP

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Spoonman
Nuke Soldier
Nuke Soldier


Joined: Sep 21, 2003
Posts: 15


PostPosted: Fri Dec 31, 2004 2:28 pm Reply with quoteBack to top

ive re-installed php several times now , and continue to get the same error,
is there a certian argument i need to pass to it during make or make install , or a argument i need to pass to apache? Ive already tested to see if php is working and apahce is parsing my php code, but what I think it is , is im missing a php library or something. I just dont know wich one or if I didnt compile it correctly.

ill continue searching for awnsers.

I hope somebodly else has had this problem too.

Happy New Year!!
Find all posts by SpoonmanView user's profileSend private message
megarock
Nuke Cadet
Nuke Cadet


Joined: Jan 03, 2005
Posts: 4


PostPosted: Mon Jan 03, 2005 1:56 pm Reply with quoteBack to top

First off I'm not a newb and run six Linux boxes but have never come across something so fruit on a standard installation before. This started from reading the recent vunerability with php so I though it a good idea to update to the most recent version (4.3.10). It was a really bad move.

Running:

apache+mod_ssl-1.3.33+2.8.22
mod_php4-4.3.10,1
FreeBSD 4.9

Whenever I tried accessing my PHPNuke install I got this error:

Fatal error: Call to undefined function: preg_match() in /usr/home/webadmin/public_html/mainfile.php on line 23

All other PHP sites running on the server also dead as a nail.

First noticable thing is this problem never occured until the latest releast of PHP (4.3.10). Befoer this I was running PHP 4.3.3 and never had this problem.

So, I installed:

php4-pcre-4.3.10

Once this was done all my browser is loading is this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

The page is blank and it's like nothing at all is there.

So, since I have several servers (at least a few that still have the older mod_php 4.3.3 I'm moving my site there until I can figure out what the heck is wrong since I can't tell if this is a Nuke problem, a PHP problem (which it appears to be) or a combination of both but hopefully people read this and hesitate on upgrading to any recent versions of PHP with an issue that not only knocked out my nuke site but everything else running PHP.
=== EDIT ===

An update. As I had installed mod_php as I always had from the BSD ports collection before it seems everything needed installed on it's own. It seems now with mod_php 4.3.10 this is no longer the case. No extentions loaded and I have had to take on the daunting task of tracking this issue down.

I have at least got PHP to load after installing the PHP extentions port

/usr/ports/lang/php4-extentions

Don't know what kind of moron though of changing this in the middle of a release but they should be smacked really, really hard as even the changefiles fail to mention it. Rebooted the system and bang, everything worked great.

Hopefully this helps someone else avoid this major pain in the neck.
Find all posts by megarockView user's profileSend private message
d4mi4n
Nuke Cadet
Nuke Cadet


Joined: Mar 22, 2005
Posts: 1


PostPosted: Tue Mar 22, 2005 8:29 am Reply with quoteBack to top

hi,
megarock:
i have the same problem with the blank page, i installed pcre with php4-extensions, phpinfo() tells me that everything is loaded, but i only get the html tags
only the phpinfo works right
Find all posts by d4mi4nView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.184 Seconds - 286 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::