Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8247605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:54:17+00:00 2026-06-07T22:54:17+00:00

I have a problem, I’m using this project to use of base on my

  • 0

I have a problem, I’m using this project to use of base on my project. I tryied to get the same result of the guys project, and used the same project to test in my SQL.

I done the “index.php” works, and when I click “Save Route” it send a mensage “Updated”, so, when I open “loady.htm” it give that error : “SintaxError: Unexpected Token < “

I used the same code, but changed the local host on process.php and the account and password.
But this is the unique change.

What’s wrong on load.htm ? Or its an error on teste.php, I cant load the waypoints in “loady.htm”

Links for test:

http://www.inventoresdegaragem.com/dbteste/index.htm
and
http://www.inventoresdegaragem.com/dbteste/loady.htm

Edit 2: This is my process.php

<? ob_start(); header('Cache-Control: no-store, no-cache, must-revalidate');

@$data = $_REQUEST['*******'];


$host = 'localhost';
$usuario = '******';
$banco = '******';
$senha = '******';
$db = mysql_connect($host, $usuario, $senha);
mysql_select_db($banco, $db);



if($_REQUEST['command']=='save')
{

    $query = "update mapdir set value='$data'";
    if(mysql_query($query))die('bien');
    //die(mysql_error());
}

if($_REQUEST['command']=='fetch')
{
    $query = "select value from mapdir";
    if(!($res = mysql_query($query)));      
    $rs = mysql_fetch_array($res,1);
    die($rs['value']);      
}

?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:54:19+00:00Added an answer on June 7, 2026 at 10:54 pm

    Your process.php cannot connect to your database.

    Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ‘http’ (1) in /home/i/inventoresdegara/www/dbteste/process.php on line 10

    It would appear that your current live version of process.php does not have localhost specified as the server. Note that it should be just a server name and should not include the protocol:

    $host = 'localhost';
    $host = 'www.mydomainnamehere.com';
    

    (or whatever domain name you want to use) and not

    $host = 'http://www.mydomainnamehere.com';
    

    I believe the error is occurring because the database error message I’ve reproduced above is formatted as HTML and starts with <:

    <br />
    <b>Warning</b>:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Unknown MySQL server host 'http' (1) in <b>/home/i/inventoresdegara/www/dbteste/process.php</b> on line <b>10</b><br />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem with my query on C, I’m using the oci8 driver. This
I have problem with Uploadify: I log in the project using: FormsAuthentication.SetAuthCookie(myName, false); Then,
I have problem SIMILAR to preventing form data reposting, but not quite the same
I have problem with filling a Map in Java, I think this is simple,
Have problem while getting data from Memcached on .NET MVC solution. I have this
I have problem with php's preg_match.I want to make something like this : When
I have problem like this https://dev.twitter.com/discussions/4563 if (webResponse.Headers[Content-Encoding] == gzip) { byte[] bytes =
I have problem with one of my validation regex when using nonstandard utf-8 character.
I have problem with this method in NLog library: NLog.Targets.Wrappers.AsyncTargetWrapper.ProcessPendingEvents(object state) It consume too
I have problem with configuring NODE.JS. I was trying to install node.js with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.