close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Published php pages don't function in browser or CS5

Thread began 2/11/2011 10:15 pm by zonbeek284132 | Last modified 2/16/2011 9:36 am by Jason Byrnes | 1106 views | 5 replies |

zonbeek284132

Published php pages don't function in browser or CS5

After running the Wizard, my results in CS5 and FireFox are errors "The connection with the server was reset." and IE "cant display the page". Cant figure out or find information on this problem.

OS:Vista, Server: WAMP and CS5.

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to line 1 of the page to turn error reporting on:

php:
<?php 

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



post back with any errors that are displayed and a copy of the page in a zip archive.

Sign in to reply to this post

zonbeek284132

The only page that loads is "Search.php", because it's HTML. Safari, Firefox will not execute "Results.php",etc., before or after adding the error code. And no report.
I have other php pages I've coded that execute with WAMP server 2.1. Would there be a setting for the language version in the Wizard?

Results.php attached. note: CS5 reports the page with "No syntax errors".

Attached Files
New WinZip File.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I bet the issue is caused because the code is using the virtual function for include files rather than require_once:


try changing lines 5 - 9:

php:
<?php virtual('/Connections/myCon.php'); ?>

<?php
//WA Database Search Include
virtual("/WADbSearch/HelperPHP.php");
?>




to:

php:
<?php require_once('Connections/myCon.php'); ?>

<?php
//WA Database Search Include
require_once("WADbSearch/HelperPHP.php");
?>




to prevent this from happening again in the future, change the setting in your site definition for "Create Links Relative to" from "Server" to "Document"

Sign in to reply to this post

zonbeek284132

That was it! Thank you!

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

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