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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Gone through the whole process, getting blank pages

Thread began 6/17/2010 12:24 pm by gail.bergan407744 | Last modified 6/17/2010 3:33 pm by gail.bergan407744 | 954 views | 4 replies |

gail.bergan407744

Gone through the whole process, getting blank pages

Hi, I think I've gone through the whole process, yet when I try to access my pages on the remote server, I'm getting blanks. This is what I've done.
- Installed URSP; copied all files to the secure folder of my local site
- Went through all How To PDFs and made the changes: imported the users table into my existing database, updated the DB connections file, customized WA_Globals.php, added my template to your pages successfully, restricted access to certain pages, made a mysql dump of my database and imported into the server's database of the same name....then uploaded all my files via DreamWeaver CS4's upload feature.
- Now when I go to the remote site and try to access any of the pages I just altered - for example users_LogIn.php, I get nothing. Blank. This is true for all pages.

About ready to tear my hair out now...any help would be appreciated. Note that this was originally a static HTML site that my client wanted certain database applications added to; so the only PHP files are in the secure folder. I hope I assumed correctly that I could do this. Did I upload everything into the wrong folder?

Gail

Sign in to reply to this post

Jason ByrnesWebAssist

when php pages display b lank, it means a php error is occurring, but error reporting is turned off.

to troubleshoot the problem, we will need to know the error. To turn error reporting on, add the following code at line one of the login page:

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



once we know the error, we can start tracking down the cause.

Sign in to reply to this post

gail.bergan407744

error messages

OK, I added the code and here are the resulting error messages:

Warning: require_once(Connections/localhost.php) [function.require-once]: failed to open stream: No such file or directory in /home/gcssepm/www/secure/users_LogIn.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'Connections/localhost.php' (include_path='.:/usr/local/lib/php') in /home/gcssepm/www/secure/users_LogIn.php on line 5

Sign in to reply to this post

Jason ByrnesWebAssist

that error means the connections/localhost.php file has not been uploaded


upload the connections folder to the /home/gcssepm/www/secure/ directory on the host.

Sign in to reply to this post

gail.bergan407744

I figured one thing out

The line

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

needed to be changed to my actual database name:

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

This allows the page to show up, but all template details that I applied to the page are missing. My server tech support pointed out that some lines in the users_LogIn.php page have invalid paths:

<script src="../../../../wamp/www/2010 new site/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../../../../wamp/www/2010 new site/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
<link href="../../../../wamp/www/2010 new site/GCSSEPM.css" rel="stylesheet" type="text/css" />

Those files are present in the site, but OUTSIDE the secure folder, in the SpryAssets folder in the main www area. So, I understand path problems, I just don't know how to fix it. Do I move your php files (and their supporting files) OUT of the secure folder and into the main www area? or vice versa? I was assuming the php files (and their supporting files) needed to be in the secure folder because of the login process, but maybe I assumed wrong.

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