close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Page is blank when uploaded to server

Thread began 8/26/2009 12:28 pm by C Claypool | Last modified 8/27/2009 9:41 am by Jason Byrnes | 1887 views | 3 replies |

C Claypool

Page is blank when uploaded to server

Again, this is probably a silly setting issue, but when I use the wizard to create the login, register etc pages, the pages look fine in DW CS4, but when I upload to my test site (users_Registration.php) it is blank ... when I look at the source code there is nothing there ... I can't imagine what is making the page absolutely blank ... any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

When a php page displays blank, it means that a php error has occurred but the host has turned of error reporting. Some host's will allow error reporting to be turned on for debugging purposes by placing the following code block at the 1st line of your page:

php:
<?php

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

C Claypool

Okay, I turned on the error logging:

for the user_registration page, I get
Fatal error: Call to undefined function virtual() in /hsphere/local/home/claypool1/test.realdesigngraphics.com/users_Registration.php on line 5

line five is
<?php virtual( "/Connections/ClientBase.php" ); ?>

for the user_login page and user_profile I get
No input file specified.

I don't have a clue what to look at to fix these ...

Sign in to reply to this post

Jason ByrnesWebAssist

In your site definition, you have set the Create Links Relative To:" Option to Site. Change that to "Document" Before running the security assist wizard to force Dreamweaver to use require_once() instead of virtual() for included files.


On the General Tab of the Site Definition, Select Document instead of Site for the Create Links Relative to option, then use the security assist wizard to create the pages again.

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