Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Saving, Naming, Previewing and Publishing

Notices

Saving, Naming, Previewing and Publishing Discussions and help with saving, naming and publishing your pages with the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 04-19-2007, 05:15 PM
Sergeant Major
 
Join Date: Feb 2007
Location: the beautiful state of Kentucky
Posts: 89
Default sytax error when publishing first site

HI,
I am relatively new to the forum. Serveral people here have already helped me and I hope someone will help again. I read the information about using php in the menu and footer. I thought I did it right, so today I published the menu, footer, and index pages.

Am getting a page showing my template with nothing on it except:
Parse error, sytax errror, unexpected $end in.....................

Parse error: syntax error, unexpected $end in /home/pfvgmdxy/public_html/footer.php on line
www.elizabethbaileyportraits.com

I think the error is in the footer PHP because the instructions weren't laid out as clearly and I know so little that I need precise instruction.

My monitor colors are not set right. On another site, which I thought had a beautiful soft green, Beth told me that it was VERY green, LOL. I changed it to ivory to make her stop laughing but now I'm afraid that my template for this site is too bold. Would appreciate comments on the colors you can see. Never to late to change it...

Thank you in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 04-19-2007, 07:09 PM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,638
Default Re: sytax error when publishing first site

post the code for the footer
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 04-19-2007, 09:04 PM
Sergeant Major
 
Join Date: Feb 2007
Location: the beautiful state of Kentucky
Posts: 89
Default Re: sytax error when publishing first site

This is what I put in the footer:
<center><font face="verdana" color="666666" size="1">Elizabeth Bailey Portraits<br>
Represented by Garden Party Teas, Ltd. Co.<br>
Bardstown, KY 40004<br>
502-541-1844<BR><BR>
<h3>Convenient to the Washington DC area 20194</h3></center><br>
<center>The original oil paintings on this website were all created and copyrighted by<br> Elizabeth R. Bailey.<br>Other than the owners of the portraits presented here,<br>use of these images or their reproduction by any other <br>individual or organization is strictly prohibited.<br><p>
<font size="2" face="Verdana"> <b>

When making the PHP for the footer, I put this
<? function footer() { ?>
in Start of Page HTML

and this in End of Page:
<?php
include ("footer.php");
footer();
?>

I published the menu and the footer php files first and then the index file. When I saw the error on the published page, I double checked my work and realized that I did not place the footer html block in the upper left corner. I moved it, saved the page and republished. No change, so I went into the ftp manager and deleted the footer and published it again. Same error message but it changed from indicating line 26 to 22. ???

I really want to cancel with my former host by tomorrow.

Barbara
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 04-19-2007, 09:20 PM
Sergeant Major
 
Join Date: Feb 2007
Location: the beautiful state of Kentucky
Posts: 89
Question Re: sytax error when publishing first site

I just went to my web site hoping that the problem had just gone away and voila!, my old site is there instead!

I redirected the URL this morning and could see the BV template with the error message. Now the old site is back. How is that possible?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 04-19-2007, 09:28 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: sytax error when publishing first site

No that's wrong. At the end of the page code you need to place

<?
}

?>


You have mixed the two codes, the one that goes in the footer definition page, and the one that goes in the page that is calling the footer. Please have a look again at the tutorial.

I cannot answer on the second question about the old site. Maybe you have republished the old page, or your browser is cacheing.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 12:19 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176