close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Need help

Thread began 11/18/2010 5:34 pm by Roxana | Last modified 11/19/2010 4:34 pm by Jason Byrnes | 947 views | 8 replies |

Roxana

Need help

Not really an ecart question, but I am stuck :(

When I make a change to the php code, the browser displays a blank page. Problem is, the php code is too long to trouble shoot.

There is a little piece of php code, that - when added to the top of the code - will display what's wrong. I forgot how and can't find it. Could someone help me out?

Sign in to reply to this post

neilo

Hi Roxana,

php:
<?php 
error_reporting
(E_ALL); 
ini_set('display_errors','on'); 
?>
Sign in to reply to this post

Roxana

Thank you so much. I will try to trouble shoot now.

Sign in to reply to this post

Roxana

The browser now faithfully shows me, what the problem is. Still too complicated :)

I am giving up for now.

Sign in to reply to this post

Jason ByrnesWebAssist

What is the error in the browser, perhaps we can help troubleshoot it.

Sign in to reply to this post

Roxana

Hi Jason. I tried to pin-point yesterday's problem, and I ended up solving it :)

Then I ran into the next problem. This may be a question of "it just doesn't work".

My site is multi-lingual. On the email page is a top image, that changes with the selection of the language. The choice is made on the form page. If we were to write an email to an English customer, we would hit the English button, image changes, and then the image on the email page is English as well. This language choice is done with include files, where the file is a php page with just the image.

It works for the email page in the browser, but on the email itself the image is missing.

This is the php code for the image is
<?php include ('includes/'.$folder.'/headerFloat.php');?>

The source code on the headerFloat.php is
<img src="http://www.name.com/images/header/german1.png" width="777" height="60" alt="name" />

Could it be, that this construction simply does not work? I tried to put just the image in the include folder, but that did not work at all. The entire is messed up (random letters and symbols).

Sign in to reply to this post

Jason ByrnesWebAssist

my first guess would be a pathing issue.

the file that contains the email message is not in the same place as the file you applied UE to, so the include path will need to be adjusted.

Sign in to reply to this post

Roxana

Not a path issue.

Apparently the image in the include file has to be in a div tag, and that div tag has to have an id (can be random).

Now it works. Two days work for a mere image swap, but I am relieved nonetheless.

Sign in to reply to this post

Jason ByrnesWebAssist

ok, glad to hear it is working.

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...