Jump to content

Use of undefined constant INSTALLTIME


phpnoob90

Recommended Posts

I have a number of notices on my website like the one below,

i have solved many of them but this one has confused me,

 

Notice: Use of undefined constant INSTALLTIME - assumed 'INSTALLTIME' in /home/fhlinux153/h/houseswitch.co.uk/user/htdocs/adminpanel/system_cls.php on line 144

 

the system_cls.php doesnt have a line 144

 

below is the code from system_cls.php

 

<?php @Zend;

4123;

/* ñ!This is not a text file!Þí  */

print <<<EOM

<html><body><a href="http://www.zend.com/products/zend_guard"><img border="0" src="http://www.zend.com/images/store/safeguard_optimizer_img.gif" align="right"></a><center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href="http://www.zend.com/products/zend_guard">Zend Guard</a>. In order to run it, please install the <a href="http://www.zend.com/products/zend_optimizer">Zend Optimizer</a> (available without charge), version 3.0.0 or later. </p><h2>Seeing this message instead of the website you expected?</h2>This means that this webserver is not configured correctly. In order to view this website properly, please contact the website's system administrator/webmaster with the following message:<br><br><tt>The component "Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.</tt><br><br><b>Note</b>: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to <a href="http://www.zend.com">Zend Technologies</a>. <h2>What is the Zend Optimizer?</h2><p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP's intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster. </p><p>In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard. </p><p>The Zend Optimizer is a free product available for download from <a href="http://www.zend.com">Zend Technologies</a>. Zend Technologies also developed the PHP scripting engine, known as the <a href="http://www.zend.com/products/zend_engine">Zend Engine</a>.</p></body></html>

EOM;

exit();

__halt_compiler();

?>

 

20031207021445716424xù

Ÿ2Å<ÏoÜÆÕ„¢Â¶”¦Fƒ4@ìîJŽWKr†CRÒn!Û«X…b©«Uš

ûƒ+m¼ZnI®m554ÇhOE|ÿŽÁ÷!’èÐSžzjzpÑS‘CúfH‡\’K'JX–VïqÞ{3oÞ¯y#j&nÏä¶í9sw`{[òÁt°Å•=xa]U5™¦

æ—ö컸ñƒ·ß¹½O)U“‹KïÇ“.f_¬©šeZ:ü§1ÀF¶?8ïö\·w¹^ÓuBtDÀœÑ_Økª‰4dÌ¢ä¡=Omˆ

[„‘¹öY÷¢ã¬«ŠŽTSQhü«K6ÆÀ%1

9‡ÅXò|·ëÚ³Io`¯kŠjªºj)‹'4žy“žwn{@dÓ¬(„Åýžgܵ§Ôõ^Ó-KÑ4ÑÐɳÝ1xÇŸØë5dè†f©D§9aÀîpÍ2QuÃTýÑxbwíÇcÏ÷ÖUËÂ&Ö‰E½"‘(»žo»]ï|îGÓîh>øcgº¦ë

qL·…Ø,ä{ɼÓÃÃîñ^çÞU¾ZÔü½š´bëTï

/ÀÓ÷¦ö¤âþ3á<)Rgïöa«{Üní¼÷k<âLûBd¥KÙßšÏB¤k᮹žðo!ð!µ o‚ï×T…h–nbΑž…H×kªÖ NÂF¤!&@­‡y&¥j™¿¯¦È˜hHO9£ûµ8K¦4¸š°è†4žz~o2á¬*Ì9ÿ.íhÀ ·ßjµÅÁ,é0ÛѨR»õýÓÖI§{Ú>QŸ¥

 

¹?ñ_ë"Ë>½J½¿8š)0á•“È/%Ñï2kìÒB´F¡4IóãôÊ&„y/üæ*<$¯¦+2÷YÐYÀhgo5ª½|¡½=õCì£á§Á‰5#­¢©q ý¦‚L…3À7’+ìA§:P(îÀûˆï51{ô•tÌØ/aéÓlvpÌ2–®¤Vûäàè~‚œÖ]R·ð–•`

K,g

gÍ‘¡**æ‚™äѽrr§}pÜéÞß{³•àLçZá‚ڽI´Û·üée&M—Þ_¾SVUà ñã’­ÂÐür»Ÿár7ßÈÛ1z›ÄJìbˆŒ4JÊuXN®w–Û†çËôûB™~³D¦;=Ÿ¹½¡–i¹¡ŽD/%Ó³b™þT(ÓÓ%2yú{ü´\ËÍu$~ilËöq¡lf;)Ú§qt ñèÀЂc,sÑ"\z/…}ÏðN»¹8$‹ãöêwJDa«mfGD,ô€ÑÐâO/ŽØ £#î°8Ü×ËÑÕ¤çÒíÏ/éjÒ³ºšôÿåè¢<_hIõ™ëÌl׿L“FÒk¤‘ôR9ÒXje’†ZŒx§ö#obû>›,ýOXÒãR!Måa`饂s†˜‡F5æLçšs&¨1€?(ï2Üߦ÷—¥‰l=K¦×„îß¾™·éïéALK_I‚ScÓfXN8ݤTq¬_ó\Ap

ƒ}¸žL_tè8æ³ÃñÀž²d°U:OÙzDIF¢rÁõ(ãF,KÍ'“î¬çŸw}§;ìC*«AZg(H¥™ 7öí¹;Y¯šnÁÛÔ

LGÎA%ªXÓ‚ôÜ”<€…

k/ÿL3

ú< ¶Oá¶bÄ+™ù‚í»ãÌ.Ol?¡4€—*¤ðôUÔ@ûÍB‚DDjÍ,žÖDžpF0¶¿×Ù;ì¶Úí£v’1ˆË0†…š ™¸ƒ˜Z¼§!i¿Rž/=íU‘‚*¹Ü±/fˆå;Ît4>›»=ê0vû®\o

ñ#ei€Ë°^ZIïèc±^“Z=Á„À.&ÒîpüPöüˉݨÌzÃáxz¶­ÏïLì‘¿­é7vä™:

Ln÷úž3™ûöŽüh<ôÏ·u]DùÜŸûÛºÂ>ùÎl[~ì;îÐv·emöX†7Aú×F#ž¯®Éðô{ƒg®3Ÿkgâ¸Û¶áÙ¡µßš7þ‰½-«Fª4wûÍý˜:¹åº€(ïÖûÍaƒl?Ï)'ìÖAÂf„õI^BÅ ýhÝâ*Z)(Ѧfå&¶õhÖ6˜».¤km׃)¢•¥ T9Mj€…$9xv½;žù2=®iT|û±_·÷°ü¶"{î Q9÷ýÙv½N‹Òýùxâkg­J×ÊÖ»ÌF=@oó"B±i¡&o®­ÅÄÿË|ß‚ÕÌ/@Ü­G.˜­Ét£ÊO òx®È~Ï=³ýF¥ÛŸô¦*ͪüºÜnuÃ)ƒUzlUÝÜY Ê•²¨ƒ{äR3¼xG^O/%Ýo+QÍŒ‚kûwAy^¬iŠFtZU3£T˜ñ´ÁãVì¥_àÌKçü8óS¥ðì‰=ðå›òÈu.ÄüçæÿjÈH—r¢~/·ö…Åä_0ðªÅ]4=Âi¤g(Neê-èBIV(}êSî;U!²©\[¨žX¿ç|òPHÑ

M‰gP“^I>µÐÇ|f”‡En5éoIO/r«-5·OGAìhºUØFÒ·2=BˆO?ÊÕ'€¤Ã>†$༘¡`žfåó€¥_„]׃Ñâ`¦¨­G̽9d8ÕIA×’ý?âda>YWW¬TÙëtØbQ¯Z$Qˆ$°G¤OÊËÂód!tÃäÉB¤_åËbÆ;eø_йÝÇ4ž½[×Ó„`ÞTEv½5ÕB©¦A(’ë<¢¿Áº…TVœ=zXh¦n –§÷Ð$dæŒ~ö/ÓgHÝ㣓ŽÈS¢

§ž.=–0ÄLóA}`„ƒ"‹\#¨ãTdÁj#CæF°2}4+øÅÆOöl_$iTÃ÷—N

¦º¦-™ÌmõJB‹B`;/ϪÊÎm×–ÇCÎäô‚¶†-";ß,Áò'I–Wbeæ*ŸÕÌŒvÉ!Âû¹i …ö“ÅŒ\Ó¨äî3G‰Ž•ˆ<‡‘RJDò”-(3˜áŠ‘:DrtH0½€S Bä9Tˆ,S!RB…H‘

‘""ËTˆª)¯B¤P…â :0‹º4pmXód¢.Í+Øé'ý¢í­QH¸˜vÓ’áaülàà«YÚª:˜ˆFפœ¶îþrm¬VžÉcu¦ÀØ1½¥)¼Ü`‚ô½W£.=-å®+Øå,,Q^5/ÖAJG(]É_g¢¥ëž¹ë¨72òhð)ˆpÎÑb

}±ä@Ñx ^iM„{KÏVéß©@#Hv!?›6*Ècl·"³

c£r=–þÌçPIÚ˜JóØy“8”û—´ý.|;|íÉ×’cþ!sL:+Å)T¥y›}zÑÑ^N“Q2/g‘ayp¯)?‘~–ì€Îáb5[pAÂñ=ÉqAôäTþ_9Ñ r‹5ˆð4œ¾ûY²R·’à„gq›jÈ’PY£XeX)&b…-°t5ÖU#„-ÃPi·$ë5Ë@*

Ãxþn4(ÃØ~X˜‘^0ûZfoŒb{ŸƒÄG+{tË:g㩈iJKJ¼*L‡)$z˜'Pˆh¼¶F¯¤ŠfÒÔ7vTï;ÃËææÆÖÍMú‰öä57ë§ÞXÜlðöGé4Q¡qÿ

H„:BÆ-7‘ˆa.´Oı¦!çØv “ðÜ°˜¯”°€6(²¿²ÔvjÆ9oæ¹Ø†Vâ“b½SîTŒ¢æbRhî&þ*:rೌ‰ß¦¶Všê€¨|œ8ܤ»â“Â"!ã\",J$„EÒ§ùÂ"žÑqYuUàák ¸ªAƺûíZMîÜkÉ·[‡G?ïÿ°}ðƽŽÜi½Ý‘ÚòþÑQ§Õ–ïìÝ¿Ô,ùÍ£»û­»Øn½yôüX«5×xá-~˜o ÝïÌú=— •¨¸Úw|ß¹ØV¢ê©lY7vä‹žæ F«¦ªXMÕ,VL…jÌ_mBi­8ƒYÎtM‚‚õål'DžÃ ß;–ÃÑ~–êKuNÄ*A

|‰‘‹Š>Þ[…ð<I'3<_U±!Éß¡~b'Ës-NuàËÖ‚o\©önƒz|¥Ú

6|g¦šñlU@œò•äEP÷Ź°hmG^}¾:°©Iod½ÿMAXÊÔ?ÐìéÐy´åL'No؈ŽÃ76å÷²ñéó6ŠÓ·ÁkËtvòñë7eZQ¡WFŽ+´äÞt(Íl·w³žÿÚx´T¶Âzý Ý“…lå¼³ZÜ¡gFõµ{ªòO*—D¯.%

Ÿ3ÛoMlúãí˃áFu09Ž_ÝÜb–e‹À¸

{ª;_tàÉçùIø‰lO<›N(мã\Ìæ¾=d3´‘X÷[ÕêæfáÔÔoŠ«¿?£å<–m°U´úðÐö~F±±œ…%’R•Ñ5…<jÔÁ–ªÑ§N'ý8ìnx‹ÞþÚ¨¦ÏÁª›ßnTݳþ†rK¦ÿ6—ÍIðÐùØxÜÐt}G~ÜÔèÿµZ™ùË—ÁË—ìåËò/>!@ò–\}ýñëUúíòõjIqãçKÛ(åi|Þ=“^„@§èý´çxñI9Ô’h㑼Á)¿}×î=(Ép .ž|a;SήÃRîù¾;îƒ%=‹õ22é%Ìô—¥|ÿ#Myà'4&XU!c&YAAêxM^‡Š¢,¤|™8¿ÇÃF%˜ŸÊÒ2Ϫª)ÒW2ÃaÝxØÅã

ëCHFØ1¹IE¨±‘ÿ‘W

Ê‚~0œ

÷R¹8œá¶òdýù²Hœaýki(ÎÐP!©Ws‚q¥(CïÅåÿ£pàV¥=Ùa8ƒ~“9£DÁ(€Ç]M╾¨ÏUK7=­¤aa¡Dƒà?òq‰˜ úY²@ì‹è‡™¬£®óªK&ëzº(“f=î®Ïd]—š¬ëR½€u]0E¡8†

ý¿+FXRÂÆXhJÓâƒßÅ >I•·’ÁÄ63@~?=SŠHiñ&eGG1;HyŽî7@NÕ¨LÄ»ÌöÁ$Ùî-ù‡Î\ô¦SÇ—‡öÄöm™Þ‚çQ‚¾ÁÄñÆÓ3™*=ýL•^ö{gÞVFS]z«aå7R!Õpuú×¢²ëºª"¬cYFf!7Y>²4ÓÐé57]

/øa‚u‚ÚÁS\öEÒ„õ|N‚žOÖê@¿ỏ÷eL^ÜM6)©Ò<B8Íû»*ê§3ZéQ|åk¡i7Àfæ=ÂUr8Fõ¼î=,Á˜æwò8¢&fjïîÝv„›7G^„pšÏ@ËÌV³ç€]¬¾wtÒ‰ó&ÈŽ

& ¥&H+š äíÀÍ› Y„P4AZú^A¦Æq16Måa„p-_Uúõ…Nµƒû'`“;ÉØ6Ðz&)MûÆg´pêæ@AƒuÞ ”¦åM#ŒïÐÒ{lòͦ@„H§š†èõ1¬êZé£àWÒšÉ/‹þÿ•éi#*ý”F¥®§Æ:åŽSÔÆh¬“í¯‰™5RÛôŒ ¯¹spî\ØôöÁwç

1Ä…QþÎ>ÿã-X¤õdôáô¯és

7lëJª;î´Oê¡«ü1ƒ@ÿ™A7{x’"£‡&]‰ÚÂX/—íÏg{´qM£ú¡Z˜õáÎYw˜J!ìŠwxÍà

Ç®×t¢aÄ®˜g´‰Å½ýöm9~

®í‡Ílj9éñê0m¥H5'«RÜhÊ:^W‚?ý!t¢±;d¡ ƒ‰ifœ–®èìüiM•þBî

Link to comment
Share on other sites

are you telling me you can read that zended php? 

 

Be serious and post stuff that isn't zended otherwise no one will help you.

 

 

The issue has abosluetly nothign to do with a specfic page its a genera issue in how you write stuff you are doing conotation improperly or someother escaped string

i.e

<?php
$var = "Boo";
echo VAR;
#Above line produces undefined constant VAR error
echo $var." and ".VAR;
#Again error undefined constant VAR
echo $var." and VAR";
#No errror will output Boo and VAR
define("VAR", "This is Var");
echo VAR;
#No error as we now have a defined constant.
?>

 

Odds are you aren't quoting strings and it tries to read them as constants

Link to comment
Share on other sites

okay sorry, im just trying to install a website i have purchased, and it has come up with loads of these errors, i havent wrote the code myself and have very little php knowledge,

 

 

Well you seriously think people can read that go to the supplier of said software and ask them about defining constants.

Link to comment
Share on other sites

I have contacted the suppliers but they just dont reply,

this is my mess of a website, www.houseswitch.co.uk,

if i sent you the scripts, do you think you would be able to point me in the right direction of getting it all sorted?

Your help is much appreciated.

 

 

We have no legal or moral right to decrypt the zended work of a fellow programer and we won't dezend it.

Link to comment
Share on other sites

Those are just NOTICEs...you can usually ignore them. What you should do is turn the error reporting down. Check this out for more info: http://us3.php.net/manual/en/ref.errorfunc.php#ini.error-reporting

 

 

NO!

 

If its producing an alert to something not being right don't ignore it fix it, that is just bad practice.

 

That is like saying the house three door downs has smoke coming out of it, but because its not my house and I don't see fire I shouldn't worry about  it.

Link to comment
Share on other sites

I read the instructions and did everything it said in the order it said, the website came with a large number of scripts, these scripts are not zended, the only script that is zended is the one i have posted, the error posted is not the only error i have but i was trying to get this one sorted first seen as it is zended and seems more of a challenge, as i would not want to spend a long time fixing everything and not be able to fix this error.

Link to comment
Share on other sites

In defense of my statement to turn off notices. I'm not saying you should get into the practice of ignoring Notices. But, PHP4 & PHP5 have notices turned OFF by default. So, since this is a third party app, there is a pretty good change they coded it to work instead of coding it to 'standard'. If it works with notices off, I say do it. Don't bend over backwards trying to pre-define all the variables and array indexes in someone else's code.

Link to comment
Share on other sites

Thanks, i have turned off notices and everything seems to work, seen as I was unable to change the servers php.ini I have put ( error_reporting(E_ALL ^ E_NOTICE);) at the top of each script which took a fair amount of time but the site appears to be working now although I have not thoroughly tested it due to my server being down all day, damn streamline.net hosting >:(

Thanks a lot for the advice.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.