Error first time use after install
Posted by: a511476 (---.hsd1.mo.comcast.net)
Date: October 25, 2012 12:32AM

An error occured
Unterminated string constant

');
if( valid_pos == -1 ) {
// Valid data not found in the response
msg = 'Invalid AJAX data received:' + msg;
if(errorCallback == null)
{
if(akeeba_error_callback != null)
{
akeeba_error_callback(msg);
}
}
else
{
errorCallback(msg);
}
return;
} else if( valid_pos != 0 ) {
// Data is prefixed with junk
junk = msg.substr(0, valid_pos);
message = msg.substr(valid_pos);
}
else
{
message = msg;
}
message = message.substr(3); // Remove triple hash in the beginning

// Get of rid of junk after the data
var valid_pos = message.lastIndexOf('



loaded Visual C++ on the computer
I installed Wamp
I created a database called webpage
I put my php files in a folder called webpage and put it in the WWW dir
When I click on Kickstart I got the above message.
What am O doing wrong?

Options: ReplyQuote
Re: Error first time use after install
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: October 25, 2012 01:17AM

Variables in PHP start with a dollar sign '$'

None of your do.

Also PHP script files start with
<?php

and end with a
?>


So for example

<?php

if( $valid_pos == -1 ) {
// Valid data not found in the response
$msg = 'Invalid AJAX data received:' + $msg;


and so on ....
?>

Options: ReplyQuote


Sorry, only registered users may post in this forum.