What the dickens did I do!?
02-05-2008, 03:25 PM
|
What the dickens did I do!?
|
Posts: 175
|
(I am reposting this as I accidently posted in the wrong forum before)
I just made a couple tiny modifications to my php language file. I think I erased a \ somewhere and corrected a couple typos. I thought it was nothing but now my whole site is blank! What on earth did i do wrong? Im an html girl, this php is pretty french to me. Can anyone help? Here is the code below that I did those small modifications to. Does it look ok? I think when I erased the \ , that caused the problem(?)
PHP Code:
<?php //titles define('HOWTOTITLE','How it works'); define('FAQTITLE','FAQs'); define('PPTITLE','Privacy Policy'); define('TOSTITLE','Terms & Conditions'); define('LOGINTITLE','Log to your account'); define('SUPPORTTITLE','Get help!'); //support related define('SUBMITNEWTICKET','Submit a new ticket. All fields are required.'); define('MESSAGE','Your message <em>(include as many details as possible)</em>'); define('SUBJECT','Subject'); define('CATEGORY','Category'); define('GENERALSUPPORT','General Support'); define('CREDITINGSUPPORT','Crediting'); define('PAYMENTSUPPORT','Payments'); define('OFFERSUPPORT','Offer Questions'); define('ORDERSUPPORT','Order Questions'); define('TICKETSLIST','Your submitted tickets'); define('LASTUPDATE','Updated on'); define('STATUS','Status'); define('TICKETCLOSED','<span style="color:red;background:none;">Closed</span>'); define('TICKETOPENED','<span style="color:green;background:none;">Opened</span>'); define('REPLY','Reply'); define('YOURREPLY','You reply'); define('LASTREPLIED',' last wrote on '); define('OLDERREPLIESINTOPIC',' older replies in ticket'); define('USER','You'); define('ADMIN','Admin'); define('LASTREPLIEDUSER','Last replied by you'); define('LASTREPLIEDADMIN','Last replied by admin'); define('SUPPORT_ALSOOFFER','We can be reached on'); define('SUPPORT_AIM','AIM'); define('SUPPORT_MSN','MSN'); define('SUPPORT_YIM','YIM'); define('SUPPORT_GTalk','GTalk'); define('SUPPORT_Skype','Skype'); //order related define('ORDERNOTPOSSIBLEYET','Sorry, but you still can\'t order.'); define('ORDERALREADYPLACED','Sorry, but you have already placed your order.'); define('ORDERPLACED','Thank you for placing your order.'); define('ORDERGIFT','Order your gift now!'); //reward related define('CHOOSEOTHERGIFT','Choose another gift'); define('GIFTREQ',' referrals only!'); define('GIFTSELECTION','Our gift selection'); //offer related define('REQUIREMENTS','Requirements: '); define('VIEWREQUIREMENTS_LINKTITLE','View the requirements for this offer'); define('CREDITTIME','Offer credits in: '); define('PRICE','Costs: '); define('MONEYBACK','Moneyback Guarantee: '); define('CREDITCARD','Credit Card Required: '); define('FREE','FREE'); define('INSTANTCREDIT','Instantly'); define('CURRENCYSYMBOL','$'); define('YES','Yes'); define('NO','No'); define('TRYITTODAY','TRY IT TODAY!'); define('IHAVECOMPLETED','I have completed this offer'); define('MOREOFFERS','More offers'); define('MOREOFFERS_LINKTITLE','View more offers'); define('HALFCREDITOFFER','This is a half-credit offer. You need 2 of those in order to get your full credit.'); define('PREMIUMOFFER','This is a premium offer that gave you a free credited referral'); define('COMPLETESECONDOFFER','You have a credit for only one half credit offer. <a href="offer.php" title="Fill second offer to get a full credit">Click here</a> to get your second one and have a full credit.'); define('OFFERALREADYCOMPLETED','Sorry, but you have already completed an offer.'); define('OURADVERTISERS','Complete the offer below'); //registration process define('REGISTRATIONSTEP1','Get Started Now!'); define('REGISTRATIONSTEP2','Just a step away!'); define('REGISTRATIONSTEP3','Your account has been created'); define('REGISTRATIONSTEP4','Thank you for taking the time to verify your email address.<br />If you are not forwarded to the log-in page in the next 10 seconds, please <a href="'.ROOTURL.'members/">click here</a>.'); define('PERSONALINFO','Personal Information'); define('SHIPPINGINFO','Shipping Information'); define('EMAIL','Email Address'); define('PASSWORD','Password'); define('FNAME','First Name'); define('LNAME','Last Name'); define('ADDRESS','Address <em style="font-weight:normal;font-size:10px;">(street, apt)</em>'); define('CITY','City'); define('STATE','State'); define('ZIP','ZIP Code'); define('COUNTRY','Country'); define('AGREETOS','I agree to the Terms & Conditions'); define('AGREEAGE','I am at least 18 years old'); define('AGREEOWNER','I am the legal owner of this account'); define('SUBMIT_STEP1','Proceed to Step 2...'); define('SUBMIT_STEP2','Register'); define('ONEACCOUNT','One account per household.'); define('LOGIP_1','Your IP '); define('LOGIP_2',' has been logged'); define('REFERREDBY','Referred by'); define('REGISTRATION_CONFIRMATION_TITLE','Thank you for registering!'); define('REGISTRATION_CONFIRMATION_MSG_1','<p>An activation email has been sent to:</p><p>'); define('REGISTRATION_CONFIRMATION_MSG_2','</p><p>Please check your mailbox and click on the link provided so we can verify your email address.</p>'); define('ACTIVATION_TITLE','Re-send activation email'); define('ACTIVATION_LOGIN_PAGE','<BR><BR><h1 class="dark">Never received an activation email?</h1><BR><BR><a href="'.ROOTURL.'activation.php" title="Request another activation email">Click here</a> and we will send you a new one right now.'); define('PASSWORD_RESET_TITLE','Retrieve your password'); define('PASSWORD_RESET_LOGIN_PAGE','<h1 class="dark">Forgot your password?</h1><BR><BR><a href="'.ROOTURL.'password.php" title="Instantly retrieve your password">Click here</a> and we will instantly help you retrieve your account access.'); define('PASSWORD_RESET_SENTTO_MSG_1','<p>A confirmation email has been sent to:</p><p>'); define('PASSWORD_RESET_SENTTO_MSG_2','</p><p>Please check your mailbox and click on the link provided so we can proceed with your password reset.</p>'); define('PASSWORD_RESET_SENTTO_MSG_3','<p>The new password has been sent to:</p><p>'); define('PASSWORD_RESET_SENTTO_MSG_4','</p><p>Please check your mailbox.</p>'); define('REMEMBERME','Remember me (lasts 2 weeks).'); //success messages define('SUC_PROFILE_UPDATE','Your profile was successfully updated.'); define('SUC_COFFER_ADD','Thank you for completing the offer.'); define('SUC_COFFER_RESET','You can now try completing another offer.'); define('SUC_SUPPORT_ADD','Your ticket was successfully submitted.'); define('SUC_SUPPORT_REPLY_ADD','Your reply was successfully submitted.'); define('',''); //error messages define('ERR_IP_BLOCKED','If you feel this is an error, please <a href="mailto:'.SITEADMINEMAIL.'?subject=My%20IP%20is%20b locked%20by%20mistake.">contact us</a>.'); define('ERR_EMAIL_INVALID','Invalid Email'); define('ERR_EMAIL_INUSE','Email already registered'); define('ERR_EMAIL_NOEXIST','This email is not registered'); define('ERR_EMAIL_ACTIVATED','Email has already been activated'); define('ERR_PASSWORD_TOOSHORT','Must be over 6 characters'); define('ERR_PASSWORD_INVALID','Password contains invalid characters'); define('ERR_EMPTY','Required. Can\'t leave blank.'); define('ERR_NAME_INVALID','You entered an invalid name'); define('ERR_ADDRESS_INVALID','You entered an invalid address'); define('ERR_CITY_INVALID','You entered an invalid city'); define('ERR_STATE_LIST_INVALID','You must select a state'); define('ERR_STATE_FIELD_INVALID','You entered an invalid state'); define('ERR_ZIP_INVALID','You entered an invalid Zip code'); define('ERR_COUNTRY_INVALID','You must select a country'); define('ERR_AGREE_TOS','You must agree to our Terms & Conditions'); define('ERR_AGREE_AGE','You must agree to our Terms & Conditions'); define('ERR_AGREE_OWNER','You must confirm ownership of account'); define('ERR_COFFER_DELETE','Why reset a credit offer?'); define('ERR_SUPPORT_ALLFIELDSREQUIRED','Sorry, couldn\'t submit your ticket. All fields are required.'); define('ERR_LINK_REQUIRED','Sorry, couldn't submit your report. The referral link is required.'); define('ERR_REPORT_TITLE','Error! '); define('ERR_REPORT_MSG_1','The site encountered a problem. Please try again or <a href="mailto:'.SITEADMINEMAIL.'?subject=Error '); define('ERR_REPORT_MSG_2',': please fix.">let us know</a>.'); define('ERR_REPORT_MSG_3','<br />Also, please include the following: '); //forms define('LOGINBUTTON','Login to my account'); define('ACTIVATIONBUTTON','Send activation email'); define('RESETPASSBUTTON','Submit'); define('LOGINBUTTON','Login to my account'); define('SUBMITTICKET','Submit your ticket'); define('SUBMITREPLY','Submit your reply'); define('SAVESCRATCHPAD','Save to notepad'); define('CHANGEGIFT','Change my gift'); //member status page define('COFFERSTATUS','Your completed offer status'); define('SIGNUPTO','Your sign-up to '); define('COFFERSTATUSLONG_DECLINED',' was declined by our advertiser. Please contact us to reset your account status so the system allows you to fill another offer.'); define('COFFERSTATUSLONG_APPROVED_1','Congratulati ons! Your sign-up to '); define('COFFERSTATUSLONG_APPROVED_2',' was approved by our advertiser.'); define('COFFERSTATUSLONG_PENDING_1','Thank you for signing up to '); define('COFFERSTATUSLONG_PENDING_2','. We will update your status as soon as we hear back from our advertiser.'); define('COFFERSTATUSLONG_DELETE_1','If you have not signed up to this offer, please '); define('COFFERSTATUSLONG_DELETE_2',' to automatically reset your status and permit you to choose an offer.'); define('COFFERSTATUSLONG_DELETE_LINKTITLE','Reset your completed offer status'); define('MANUALCREDITAWARDED','Congratulations! You were give a FREE credit!'); define('SOMEADVERTISERS','Some of our advertisers are:'); define('REFERRALLINK','Your referral link'); define('REFERRALSTATUS','Your referrals' status'); define('NOOFFERFILLED','No offer filled yet'); define('OFFERDECLINED','Offer was declined'); define('OFFERAPPROVED','Offer filled and approved'); define('OFFERPENDING','Offer filled and pending approval'); define('PREMIUMOFFERREFERRAL','PREMIERE OFFER COMPLETED (Credits as a referral)'); define('OFFERAPPROVEDHALF','Half-credit offer was approved'); define('OFFERAPPROVEDFULL','2 half-credit offers approved'); define('REFERRALBANNED','Suspended account'); define('PLACEORDER','You can now order your gift! Click here to proceed'); define('PLACEORDER_LINKTITLE','Place your order now'); define('ORDERDENIED_1','Your order has been denied. Please '); define('ORDERDENIED_2','if you wish to have more information.'); define('ORDERRECEIVED_1','Your order has been received. Please allow us 5 business days to review it.'); define('ORDERRECEIVED_2','Your account has been verified. We are now checking our different vendors for your item's availability.'); define('ORDERRECEIVED_3','A vendor has been contacted concerning your gift. Order should be processed soon!'); define('ORDERRECEIVED_4','Your order is being processed by our vendor. Just a couple more days and you will receive your FREE gift!'); define('ORDERRECEIVED_5','Order is being shipped by our vendor.'); define('ORDERRECEIVED_6','Your gift has been shipped. It all depends on the courier now, but you should get it soon!'); define('ORDERRECEIVED_7','Congratulations! You received your FREE gift! Please send us a testimonial or a thank you picture and we will post it in the proof gallery.'); //profile edit page define('SELECTEDGIFT','Your gift'); define('EDITPROFILE','Update your profile'); define('AGREEUPDATE','All the information above is correct'); //login and Password errors define('ERR_ACCESSDENIED','Access denied'); define('ERR_NOPASS','Password is required'); define('ERR_WRONGPASS','Incorrect email/password combination'); define('ERR_WRONGLEVEL','Wrong user privileges'); define('ERR_NOUSER','Username is required'); define('ERR_WRONGUSER','Incorrect email/password combination'); //general define('IRREVERSIBLEALERT','Please confirm you want to proceed. The action you are taking is irreversible.'); define('CLICKHERE','click here'); define('CONTACTUS','contact us'); define('SCRATCHPADDEFAULT','This is your notepad. Click on the text to edit it at anytime.'); define('SCRATCHPAD','Notepad'); //referral spam define('RSPAM_SUC_THANKYOU','Thank you! We will be looking into it and taking immediate action.'); define('RSPAM_TITLE','We take spam very seriously'); define('RSPAM_LINK','Spammer's link'); define('RSPAM_MESSAGE','Your message'); define('RSPAM_SUBMITBUTTON','Report it'); define('RSPAMLINK','Report Spam'); //multi-countries define('AUSTRALIA','Australia'); define('BELGIUM','Belgium'); define('CANADA','Canada'); define('DENMARK','Denmark'); define('FINLAND','Finland'); define('FRANCE','France'); define('GERMANY','Germany'); define('GREECE','Greece'); define('IRELAND','Ireland'); define('ITALY','Italy'); define('LIECHTENSTEIN','Liechtenstein'); define('LUXEMBOURG','Luxembourg'); define('MONACO','Monaco'); define('NETHERLANDS','Netherlands'); define('NEWZEALAND','New Zealand'); define('NORWAY','Norway'); define('PORTUGAL','Portugal'); define('SPAIN','Spain'); define('SWEDEN','Sweden'); define('UNITEDKINGDOM','United Kingdom'); define('USA','United States'); ?>
__________________
Want a Free Designer Handbag?
Last edited by mgraphic : 02-05-2008 at 06:52 PM.
Reason: added php tags
|
|
|
|
02-05-2008, 03:58 PM
|
Re: What the dickens did I do!?
|
Posts: 81
Name: Dustin Laroche
|
I'm not sure how the code you posted is being used. I see that you have defined alot of constants but dont see how they are being used or what kind of problems you are experiencing with the code. Please post any other dependent code and a more clear problem description.
|
|
|
|
02-05-2008, 04:03 PM
|
Re: What the dickens did I do!?
|
Posts: 190
Name: Rob
Location: UK
|
If its not too late - REWIND.
Crtl+Z is magic - **** I wish I could use it all the time.
|
|
|
|
02-05-2008, 04:32 PM
|
Re: What the dickens did I do!?
|
Posts: 6,166
Name: Dan
Location: Swindon
|
^ - Lol true!
God Please edit and add tags! much easier to read.
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
02-05-2008, 04:33 PM
|
Re: What the dickens did I do!?
|
Posts: 81
Name: Dustin Laroche
|
Wouldn't it be an interesting project to wire up a Tivo to your computer???

|
|
|
|
02-05-2008, 04:36 PM
|
Re: What the dickens did I do!?
|
Posts: 6,166
Name: Dan
Location: Swindon
|
I have Sky through my Computer, watching TV on my second Moniter RIGHT NOW!
tis great  and the tv software has pause (or timeshift) and all that whcih so SO great!  only trouble is it gobles the hard drive space...
Anyway sorry back on subject 
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
02-05-2008, 04:57 PM
|
Re: What the dickens did I do!?
|
Posts: 18
Location: UK
|
Hi, from a quick look you missed a \ here
define('ERR_LINK_REQUIRED','Sorry, couldn't submit your report. The referral link is required.');
Apart from take, do you have an error log you can check.
Gav
__________________
GavinoWeb.co.uk - Affordable web hosting in the UK
SpeedieHost.com - Compare the speed of your web hosts - Web hosts needed. TESTERS NEEDED
|
|
|
|
02-05-2008, 06:49 PM
|
Re: What the dickens did I do!?
|
Posts: 498
Name: Matt
Location: Irvine, CA
| |