close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

template brokes entire website

Thread began 7/08/2010 7:10 pm by romeo370381 | Last modified 7/12/2010 7:27 pm by Eric Mittman | 736 views | 5 replies |

romeo370381

template brokes entire website

Dear,

I am using the new version of universal email, and whenever I use a template that I create myself and add a query in order to add some of the data dynamically, it doesn't work and in fact, breaks the entire website with a fatal error,

Is there a way to add data dynamically,

Because, when I try to use the edit, and use a dreamweaver empty page, the date doesn't display correctly I get the all php request instead of the data itself,....

So basically, the extension is turning useless in some how.

Sincerely,
R.

Sign in to reply to this post

Eric Mittman

Please detail the exact steps you are taking to configure your email and the results that you are getting versus what you are expecting.

What is the fatal error that you are getting?

Sign in to reply to this post

romeo370381

The thing, I am using the "Create file for your email" option, first I tried to create a file and add content dynamically, as soon as I did put the files online, I couldn't see anything of my site, the index page diplaid completly blank, with no text or images.

As soon as I take the dynamic input of, everything works again,

I even used you pre-maid templates that come with the extensions, and did the same thing, so neithetr yours or my selfmaid works,

could you let me know how I can solve this, because using the templates without be able to enter some data dynamically seems quite useless for me, personally.

Thanks.

Sign in to reply to this post

Eric Mittman

If a page displays as blank it usually means that there are errors on the page and php error reporting is turned off. You can enable php error reporting on the index page by putting this code at the top of the page:

php:
<?php 

error_reporting
(E_ALL); 
ini_set('display_errors','on'); 
?>



This should allow you to see the errors that are occurring. If you have the same result after applying this code to your index page you may need to talk to your host about enabling error reporting in php.

Sign in to reply to this post

romeo370381

Here is the error I even got locally after I added the show error code:

This is because, I added dynamic data to the template, it does the same evemn when I create a page from scratch,...


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /Applications/MAMP/htdocs/test_newsletter/index.php:7) in /Applications/MAMP/htdocs/test_newsletter/index.php on line 8

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /Applications/MAMP/htdocs/test_newsletter/index.php:7) in /Applications/MAMP/htdocs/test_newsletter/index.php on line 8

Sign in to reply to this post

Eric Mittman

These errors are telling you that you there is output that has occurred on line 7 of your index page. Due to this output the header call on line 8 will not be executed. What do you have on line 7 in this file? Usually when you see this error it is due to some white space characters being outside of the php blocks. Check the php blocks you have near this line and make sure to update them if there are any spaces or returns present.

If you can't spot it and continue to get the error post back with a current copy of your index page that is producing this error in a zip archive so that I can take a look at it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...