Search results

  1. AngusThermopyle

    Thanks X10hosting, You are Great!

    Some thoughts if you know you are going to be away for awhile: 1. Login just to the account panel just before you leave. Gives you the maximum amount of time. 2. Backup and download your site, files and databases. Just in case. (you should do it periodically anyway). 3. Unless you headed to...
  2. AngusThermopyle

    Domain Help

    Check any .htaccess files in either public_html or the folder that actually contains the banglesanddangles.cu.cc files .
  3. AngusThermopyle

    Can you create views in mysql?

    You could try: 1. Set DEFINER to just your cPanel username (how phpMyAdmin runs) OR 2. Remove the DEFINER clause altogether.
  4. AngusThermopyle

    PHP Login Servers

    $selected = mysql_select_db("login", $databasehandle); The database name would be of the form: yourcPanelUsername_login You can test $selected ... FALSE means failure, TRUE means success.
  5. AngusThermopyle

    PHP Login Servers

    So, the error is before the query .... Post all the parts of your script that relate to the mySQL. Otherwise this is just a guessing game.
  6. AngusThermopyle

    website autoredirecting to x10hosting

    Clear your browser cache and history. Then close browser and reopen it. Then check it. I see a site with "This Website is under Maintenance" and a huge space/planet graphic hotlinked from hdwallpapersos.com
  7. AngusThermopyle

    PHP Login Servers

    Did you print out the results of mysql_error() ? Did you? Print out $query to make sure it looks right. Print it from the script. Running on x10hosting, not your local machine. Try removing the quotes from around users , Username and Password. The fact that it runs on your local machine...
  8. AngusThermopyle

    upload_max_filesize and post_max_size settings

    What PHP version does that Joomla page say you are running? Should be 5.5.13 on xo2 My guess is that you are running 5.3.28 because you have something like AddHandler application/x-httpd-php53 .php in a .htaccess file.
  9. AngusThermopyle

    PHP Login Servers

    Well, your query returns a BOOLEAN -- see the error message you get when you try to use the result in another function. It only returns a boolean when you have an ERROR. So, something is wrong. Every database driver has a function to recover the last error. mysql_xxxxx has mysql_error() .
  10. AngusThermopyle

    PHP Login Servers

    1) Do not use mysql_xxxxx functions. Use mysqli_xxxxx or PDO. mysql_ is old, deprecated, and soon will not run at all on PHP versions. 2) You are running mysql_num_rows( $result ) and $result is FALSE --- ie your original query FAILED. 3) You can always use cPanel --> phpMyAdmin to look into...
  11. AngusThermopyle

    PHP Login Servers

    cPanel regular ... Databases section MySQLDatabases <----- click on Middle of page. "Add New user" If your cPanel username is "george" and you add "bush", the full username will be "george_bush" Write down the password Then, after you have created the user, "Add User To Database" ... add it...
  12. AngusThermopyle

    is this allowed

    From what I can see, no. You want to let other people create a link to your site that then forwards them onto another site. So you will be generating a bunch of traffic that ultimately has nothing really to do with your site. Guess there is a way to grab advertising pennies along the way...
  13. AngusThermopyle

    Delay after uploading files

    Possible answer: https://community.x10hosting.com/threads/how-long-to-refresh-cached-file.194669/#post-933354
  14. AngusThermopyle

    Background image not displaying

    Look at your css file. body { padding: 70px 0px 70px 0px; font-family: Roboto, Arial, Georgia, Times, sans-serif; background: url(“background.jpg”); } The quotes around the url for the background seem to be wrong. Edit the file and put proper quotes in. You might also have a...
  15. AngusThermopyle

    Could you review my Gaming site, please?

    http://jgamer.x10.mx/wp-content/uploads/2014/09/Super-Mario-3D-World-Logo.png -- shrink it down, way too big. In fact, all the logos/images should be sized to fit. Using the img tag to resize them is poor webdesign. You have a dangling --> upper left part of page. The "no image" image could...
  16. AngusThermopyle

    i have faield to connect to database

    Post the code you are using (replace your real password with ******* or myNotVerySecurePassword ) Also, what is the exact error message you get when the code fails?
  17. AngusThermopyle

    mysqli is b0rk?

    $stmt->bind_param('s', $_GET['id']); echo $_GET['id']; echo("Checkpoint 3/6 - binded parameter<br>"); x = $stmt->execute(); echo x; printf("Error: %s.\n", $stmt->error); echo("Checkpoint 4/6 - executed<br>"); First additional echo will make sure that the id is passed properly Then test...
  18. AngusThermopyle

    mysqli is b0rk?

    I sort of guessed that. Which means it can contain a dozen possible points of failure. Which we can only guess at, since you don't want to post it. Nobody else is reporting the mysqli is acting up, as far as I can see in this Forum. So, my guess is that your script is at fault, not the server on...
  19. AngusThermopyle

    mysqli is b0rk?

    What does config/databasecfg.php do? Could that be the problem? And just because it works on your local machine does not mean it will work on any other machine. Sprinkle echo messages around the code and see exactly where the script stops.
Top