Home > Php Fatal > Php Fatal Error Cannot Redeclare Date_format

Php Fatal Error Cannot Redeclare Date_format

Most hosts won't just switch to PHP5 and leave PHP4 users in the cold. Problem Solved? but not in the documents?------------------------------------------------------------------------[2006-11-08 15:08:13] r dot vandruten at usc dot ru dot nladdition perhaps its an engine or module problem------------------------------------------------------------------------[2006-11-08 14:56:09] r dot vandruten at usc dot ru dot even if they somehow support support php4, they'll inevitably remove it later Last edited by Jack McSlay; 06-04-2008 at 06:10 PM. http://amigasuperbit.com/php-fatal/php-fatal-error-cannot-redeclare-date-add.html

Apache HQ | PHP HQ | MySQL HQ | LinkedIn 0100001001111001011101000110010100100000011011010110010100100001 Reply With Quote Quick Navigation Newbies Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Though unrelated, somebody might get here looking for this answer because of topic. :] share|improve this answer answered Sep 7 '12 at 2:17 psycho brm 4,15212432 +1 Good addition. Saludos desde Uruguay. but not in the documents?------------------------------------------------------------------------[2006-11-08 15:08:13] r dot vandruten at usc dot ru dot nladdition perhaps its an engine or module problem------------------------------------------------------------------------[2006-11-08 14:56:09] r dot vandruten at usc dot ru dot http://www.webdeveloper.com/forum/showthread.php?183141-Fatal-error-Cannot-redeclare-date_format()

You may have to register before you can post: click the register link above to proceed. Seems like there are two different files involved: - modifier.Date_format.php (custom?); and - modifier.date_format.php (shipped with Smarty). but not in the documents?------------------------------------------------------------------------[2006-11-08 15:08:13] r dot vandruten at usc dot ru dot nladdition perhaps its an engine or module problem------------------------------------------------------------------------[2006-11-08 14:56:09] r dot vandruten at usc dot ru dot

The Coffee Lounge Forum Feedback Computer Issues Announcements, Press Releases, & News « Previous Thread | Next Thread » Thread Information Users Browsing this Thread There are currently 1 users browsing Previous Comments: ------------------------------------------------------------------------ [2006-11-08 15:08:13] r dot vandruten at usc dot ru dot nl addition perhaps its an engine or R dot vandruten at usc dot ru dot nl at Nov Not the answer you're looking for? Use only one of date_format or Date_format -- whichever you intend to use -- but not both.

Apache HQ | PHP HQ | MySQL HQ | LinkedIn 0100001001111001011101000110010100100000011011010110010100100001 Reply With Quote 06-03-2008,02:30 PM #3 ann86 View Profile View Forum Posts Junior Member Join Date Jun 2008 Posts 3 Any sysadmin knows better than keeping obsolete/discontinued software running on the servers. To start viewing messages, select the forum that you want to visit from the selection below. http://www.smarty.net/forums/viewtopic.php?p=40127&sid=0733fdd2fb545180d084ed2e615e7429 Contact Us Web Developer Forum Top Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc.

but im getting porblem when I run it. Results 1 to 4 of 4 Thread: Fatal error: Cannot redeclare date_format() Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Since for some reason my inc_pgtop.php is redeclaring the timeOptions function –jlg Feb 18 '13 at 17:39 add a comment| Your Answer draft saved draft discarded Sign up or log Mark this thread resolved using the Thread Tools.

Were there any server updates overnight? https://bugs.php.net/39430 If so post us the code near that line. PHP: if (!function_exists('date_format')) { //... } #2 Sergey89, 23 май 2007 pel Активный пользователь С нами с: 19 янв 2007 Сообщения: 569 Симпатии: 0 Адрес: Симферополь Den48 function date_format($x){ return 1; } ?> is date_format a new undocumented function?

You can not redeclare existing functions. his comment is here Can anyone please help me? My cat sat on my laptop, now the right side of my keyboard types the wrong characters more hot questions question feed lang-php about us tour help blog chat data legal Problem Solved?

Reply With Quote 06-04-2008,11:34 AM #2 sstalder View Profile View Forum Posts Visit Homepage Web developer Join Date Nov 2007 Location Ohio Posts 308 Does it say the line number? Score:2.0 ± 0.0 Reproduced:1 of 1 (100.0%) Same Version:1 (100.0%) Same OS:1 (100.0%) From: r dot vandruten at usc dot ru dot nl Assigned: Status: Not a bug Package: Documentation problem Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off. this contact form It did the trick for me, although the log says: Run-time warning: date_format() expects exactly 2 parameters, 0 given If you would like to refer to this comment somewhere else in

Back to top bootsAdministratorJoined: 16 Apr 2003Posts: 5613Location: Toronto, Canada Posted: Tue Mar 06, 2007 5:52 am Post subject: Are you perchance using multiple instances of the Smarty object? net Date: 2006-11-09 8:35:25 Message-ID: 200611090835.kA98ZPBl004882 () y1 ! Mark this thread resolved using the Thread Tools.

share|improve this answer answered Aug 14 '09 at 5:25 RaYell 37.1k1494136 add a comment| up vote 8 down vote date is an existing built-in function in PHP.

To start viewing messages, select the forum that you want to visit from the selection below. Please don't fill out this field. Copyright © 2001-2016 The PHP Group All rights reserved. How do I find this out?

If you would like to refer to this comment somewhere else in this project, copy and paste the following link: maczan1205 - 2012-12-22 Hey thanks z0l0s ! function date_format($x){ return 1; } ?> Expected result: ---------------- In 5.1.4 nothing in 5.2.0 ? ------------------------------------------------------------------------ -- Edit this bug report at [url]http://bugs.php.net/?id=39430&edit=1[/url] r dot vandruten at usc dot ru dot You may have to register before you can post: click the register link above to proceed. navigate here but not in the documents? [2006-11-08 19:27 UTC] judas dot iscariote at gmail dot com it is a new , yet to be documented function part of the new DateTime Facilities

Advanced Search Forum PHP Help Newbies date_format fatal error If this is your first visit, be sure to check out the FAQ by clicking the link above. All rights reserved. Note the differing case. Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New?

but im getting porblem when I run it. Back to top daniloSmarty RookieJoined: 07 Feb 2007Posts: 33 Posted: Wed Mar 07, 2007 5:31 pm Post subject: Why not change the include / require calls to include_once / require_once? No, thanks Register Help Remember Me? Previous Comments: ------------------------------------------------------------------------ [2006-11-09 08:35:25] [email protected] Yes it is.