close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problems Changing Webhosting Services

Thread began 11/20/2012 8:04 am by salaroche | Last modified 11/20/2012 9:01 am by salaroche | 1927 views | 4 replies |

salaroche

Problems Changing Webhosting Services

Hi:

My Website was working fine while Hosted in the US, but now that I'm hosting it in Hong Kong some pages and some features aren't working well

For example, two or three of the pages are giving me the following error message:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nanhai/public_html/AdminClassAssSearch.php:11) in /home/nanhai/public_html/AdminClassAssSearch.php on line 14

Why would that be? Any suggestions?

Thank you for your attention

Sign in to reply to this post

Jason ByrnesWebAssist

That error means there is output to the page between php tags.

the error is reporting the problem at line 11:
output started at /home/nanhai/public_html/AdminClassAssSearch.php:11


see this thread for troubleshooting details
showthread.php?t=19285

Sign in to reply to this post

salaroche

jason:

I looked for blanks or text between code blocks, but there doesn't seem to be any. Please see the code below (lines 1 through 19):

<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
$_POST['S_date'] = "".((isset($_POST["S_date"]))?date("Y-m-d", strtotime($_POST["S_date"])):"") ."";
}
?>
<?php
if($_SERVER["REQUEST_METHOD"] == "POST") {
$_POST['S_date2'] = "".((isset($_POST["S_date2"]))?date("Y-m-d", strtotime($_POST["S_date2"])):"") ."";
}
?>
<?php require_once('Connections/dushanbe.php'); ?>
<?php
if (!isset($_SESSION)) {
session_start();
}
$MM_authorizedUsers = "DBA,Admin02,VIP";
$MM_donotCheckaccess = "false";
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.

Sign in to reply to this post

Jason ByrnesWebAssist

look for a blank space after a closing php tag:
"?> "


at line 10 or 11.

Sign in to reply to this post

salaroche

Jason:

Got it.

Many thanks.

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