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

blank page

Thread began 12/03/2010 1:54 pm by i.edwards384429 | Last modified 12/06/2010 10:20 am by Jason Byrnes | 1347 views | 8 replies |

i.edwards384429

blank page

Hi

using data assist and security assist I have created the normal pages via the wizard

On my local test server (WAMP) if I run Admin.php enter incorrect details I am diverted to the email password reminder page.

If I enter a valid username and password I am sent to admin_search.php

So locally all works perfectly

I deleted all remote files and uploaded fresh copies so everything is the same on the live server.

Now if I go to Admin.php on my live server put in an incorrect password then as expected I am sent to the email pw page.

If I enter a correct username/password I'm sent to admin_search.php The address bar gives the correct address but the page is blank and if I view source there is none.


I've attached the search file in case the code is wrong.

The site is not live so Admin.php and username/password of ian and ian shows the blank page

would appreciate any ideas

thanks

Ian

Attached Files
admin_Search.zip
Sign in to reply to this post

Jason ByrnesWebAssist

when a php page displays blank it means a php error has occurred, but error reporting is turned off.


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

php:
<?php 

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

neilo

Hi Ian & Jason,

When I go to Admin.php and enter the test username and password, instead of being directed to admin_search.php, I get a download window asking what I want to do with the file, - open it with a program, or save the file.

This is the behaviour I would expect to see if PHP was disabled somehow, but as your other PHP page reads OK, it seems strange that this happens. I haven't seen this before. Maybe it's a PHP version issue?

Sign in to reply to this post

Jason ByrnesWebAssist

neilo, that behavior will also happpen if there is a php error on the page.

both the blank screen and the downloading page point to php level errors.

Sign in to reply to this post

neilo

Thanks for the info, Jason. I hadn't come across that before!

Sign in to reply to this post

i.edwards384429

update

Hi

Thanks one and all, even more confused now

If I type in
Admin.php

I do see a login page.

I'm using the admin section for an admin backend and the normal search

boats_search.php displays perfectly on my web server so I'm assuming the php version is OK

lastly I added the error code

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


and I still see a blank screen and no code in the view source screen.

What really puzzles me is it works on my wamp server

all good fun

cheers

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

if the error reporting code is not showing the error, then you will need to contact the host to look into the servers error logs to see what is going wrong.

until we have an error message, there no telling what the problem is.

Sign in to reply to this post

i.edwards384429

update- egg on face

Hi

found problem was all due to a typo in file name.

The code was re directing to admin_search.php

where as the page was actually called admin_Search.php and as my web server is unix......

still dont know why I got a blank page instead of a 404 but at least the problem is solved.

Make mental note - check file names in future

cheers

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

OK, glad to hear the problem is solved.

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