Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Parse error: parse error, unexpected T_STRING,
Old 12-22-2005, 10:26 AM   #1
kerry
Calendar User
 
kerry is offline
Join Date: Feb 2005
Posts: 9
Default Parse error: parse error, unexpected T_STRING,

Hello, what does this error mean? I went to my website this morning and the site is not visible and the above error is on the page.
 

Old 12-22-2005, 10:56 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

Was there a file name or line number with the error message?

Was anything on the server changed (like PHP upgraded)?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 12-22-2005, 11:00 AM   #3
kerry
Calendar User
 
kerry is offline
Join Date: Feb 2005
Posts: 9
Default

I've put in a request to my host to see if there has been a change. This is the full error: Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/murphyf/public_html/calendar/calendar.php on line 49


 

Old 12-22-2005, 11:22 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

Please let me know their response. Also, please open a support ticket and attach that file so I can take a look.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 05-01-2006, 12:07 PM   #5
netbroker
Calendar User
 
netbroker is offline
Join Date: May 2006
Posts: 4
Default

Quote:
Originally Posted by Brian
Please let me know their response. Also, please open a support ticket and attach that file so I can take a look.
I get this error message when I load the page I have just written.

Parse error: parse error, unexpected T_STRING in /home/bentley/public_html/propertydetailsformresp.php on line 85

I'm using exactly the same script on other pages that work- Is it possibly corrupt? Please see section in Qestion below.

//Sent message
//include "CMailFile.php";
//$newmail = new CMailFile($subject_out, 'info@bentleyproperties.com.es', $Email, $message, "");
//$newmail->sendfile();
mail("info@bentleyproperties.com.es","Inquiry received",$message,"From: info@bentleyproperties.com.es");
?>
 

Old 05-01-2006, 12:09 PM   #6
netbroker
Calendar User
 
netbroker is offline
Join Date: May 2006
Posts: 4
Default

Quote:
Originally Posted by netbroker
I get this error message when I load the page I have just written.

Parse error: parse error, unexpected T_STRING in /home/bentley/public_html/propertydetailsformresp.php on line 85

I'm using exactly the same script on other pages that work- Is it possibly corrupt? Please see section in Qestion below.

//Sent message
//include "CMailFile.php";
//$newmail = new CMailFile($subject_out, 'info@bentleyproperties.com.es', $Email, $message, "");
//$newmail->sendfile();
mail("info@bentleyproperties.com.es","Inquiry received",$message,"From: info@bentleyproperties.com.es");
?>




Many thanks

netbroker
 

Old 05-01-2006, 03:22 PM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

Generally happens when a quote isn't closed properly. If you can zip and attach the entire file, I'll be glad to take a look.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

property details zip
Old 05-01-2006, 04:32 PM   #8
netbroker
Calendar User
 
netbroker is offline
Join Date: May 2006
Posts: 4
Default property details zip

Thanks a million would appreciate any help at all,



netbroker
Attached Files
File Type: zip property details.zip (5.4 KB, 314 views)
 

Old 05-01-2006, 05:22 PM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

On line 81, you're missing a quote mark just before the last semicolon.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 05-01-2006, 05:44 PM   #10
netbroker
Calendar User
 
netbroker is offline
Join Date: May 2006
Posts: 4
Default

Thanks Brian, Works perfectly now.
Sometimes you can see the woods from the trees.
Netbroker
 

Old 01-07-2008, 05:01 PM   #11
kerry
Calendar User
 
kerry is offline
Join Date: Feb 2005
Posts: 9
Default

HI again, I am getting another parse error. I believe there's probably another quote that's not properly closed. Can you take a look at this code:

// INCLUDE CSS ROUTINE
if ($CSS!="") {

if (!file_exists($serverPath."config.inc.php")) die ("<font color=red>Server Path Error.</font><br />Please run the Setup Manager to correct this problem.<br /><br />");
require_once($serverPath."config.inc.php");

if ($urlPath=="") {
echo "<link href="theme/$currentTheme/esstyle.css" rel="stylesheet" type="text/css"/>";
echo "<link href="theme/categories/categories.css" rel="stylesheet" type="text/css"/>";
}
else {
if (!isset($showTheme) && $_REQUEST['showTheme']!="") $showTheme=$_REQUEST['showTheme'];
if (isset($showTheme)) {
$checkTheme = $serverPath."theme/".$showTheme."/esstyle.css";
if (file_exists($checkTheme)) {
$currentTheme = $showTheme;
}
}
echo "<link href="".$urlPath."theme/$currentTheme/esstyle.css" rel="stylesheet" type="text/css"/>";
echo "<link href="".$urlPath."theme/categories/categories.css" rel="stylesheet" type="text/css"/>";
}
}

if ($PCSS==1) {
echo "<link href="".$urlPath."theme/$currentTheme/popup.css" rel="stylesheet" type="text/css"/>n";
echo "<link href="".$urlPath."theme/$currentTheme/esstyle.css" rel="stylesheet" type="text/css"/>n";
echo "<link href="".$urlPath."theme/categories/categories.css" rel="stylesheet" type="text/css"/>";
}
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error in /escal/admin/index.php louder General Support 1 11-10-2004 08:18 PM
Parse error gordo General Support 1 06-29-2004 05:45 PM



All times are GMT -4. The time now is 10:04 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |