Welcome to AC Web.
Results 1 to 8 of 8
  1. #1

    [PHP] YouPHPTube install broken?


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Hello,

    i tried to install "YouPHPTube", a youtube like cms. Well, first i tried installing it on localhost which worked like a charm. After that i tried to install it on my webhost but it seems that it didn't installed correctly as you can see here.

    https://tube.perfectbooties.com

    Opera giving me bunch of errors such as

    • Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • Uncaught ReferenceError: $ is not defined
      at myErrorHandler ((index):428)


    It also seems like the cms can't find its stylesheets as i can tell by watching on my page source

    Code:
    <link rel="icon" href="https://tube.perfectbooties.comview/img/favicon.png">
    <!-- <link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 768px)" href="view/css/mobile.css" /> -->
    <link href="https://tube.perfectbooties.comview/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comview/js/webui-popover/jquery.webui-popover.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comview/css/fontawesome-free-5.5.0-web/css/all.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comview/css/flagstrap/css/flags.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comvideos/cache/css/fb74016ff9e8b4dc5d7e795f9ee93322.css" rel="stylesheet" type="text/css"/>
    <script src="https://tube.perfectbooties.comview/js/jquery-3.3.1.min.js"></script>
    -> https://tube.perfectbooties.comview - there is / missing after .com

    I don't know why this happens on my webhost, on localhost it works just fine.

    Someone can help me out? :/

  2. #2
    are you starting a porn website? lol

  3. #3
    Can't install a CMS with a setup system, wants to run a porn website.

    Good luck dude, I would be surprised if your webhost doesn't shut you down as soon as you get traffic or start having videos uploaded.

  4. #4
    Quote Originally Posted by Lemons View Post
    Can't install a CMS with a setup system, wants to run a porn website.

    Good luck dude, I would be surprised if your webhost doesn't shut you down as soon as you get traffic or start having videos uploaded.
    Videos won't be stored on my website.

    I already contacted my webhost and they're fine with it as long as the content isn't stored at their servers.

    And of course I can install the CMS with the Setup which comes with the package. As I said before, it's working on localhost. Surprisingly there's something wrong with my webhosts configuration.

  5. #5
    Web Developer

    Join Date
    Oct 2010
    Location
    somewhere between <?php and ?>
    Posts
    3,033
    Quote Originally Posted by splicho View Post
    Hello,

    i tried to install "YouPHPTube", a youtube like cms. Well, first i tried installing it on localhost which worked like a charm. After that i tried to install it on my webhost but it seems that it didn't installed correctly as you can see here.

    https://tube.perfectbooties.com

    Opera giving me bunch of errors such as

    • Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • Uncaught ReferenceError: $ is not defined
      at myErrorHandler ((index):428)


    It also seems like the cms can't find its stylesheets as i can tell by watching on my page source

    Code:
    <link rel="icon" href="https://tube.perfectbooties.comview/img/favicon.png">
    <!-- <link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 768px)" href="view/css/mobile.css" /> -->
    <link href="https://tube.perfectbooties.comview/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comview/js/webui-popover/jquery.webui-popover.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comview/css/fontawesome-free-5.5.0-web/css/all.min.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comview/css/flagstrap/css/flags.css" rel="stylesheet" type="text/css"/>
    <link href="https://tube.perfectbooties.comvideos/cache/css/fb74016ff9e8b4dc5d7e795f9ee93322.css" rel="stylesheet" type="text/css"/>
    <script src="https://tube.perfectbooties.comview/js/jquery-3.3.1.min.js"></script>
    -> https://tube.perfectbooties.comview - there is / missing after .com

    I don't know why this happens on my webhost, on localhost it works just fine.

    Someone can help me out? :/
    The reason it doesnt find your css is because the links are wrong.
    Should be
    But you should be able to link to css only be writing something like
    href="css/filename.css"
    so you dont need to specify the whole URL

  6. #6
    Quote Originally Posted by Tok124 View Post
    The reason it doesnt find your css is because the links are wrong.

    Should be


    But you should be able to link to css only be writing something like
    href="css/filename.css"
    so you dont need to specify the whole URL
    Yeah obviously.

    But I dont get it, i use the exact same files on localhost and it works. Why it doesn't on my webhost then? I can't explain.

  7. #7
    Quote Originally Posted by splicho View Post
    Yeah obviously.

    But I dont get it, i use the exact same files on localhost and it works. Why it doesn't on my webhost then? I can't explain.
    Have you tried reinstall? Maybe you put url for it to use incorrectly by accident.

  8. #8

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Quote Originally Posted by Lemons View Post
    Have you tried reinstall? Maybe you put url for it to use incorrectly by accident.
    Nope, everything's fine as I can tell by watching my configurations.php file.

    }else{ $global['webSiteRootURL'] = 'https://tube.perfectbooties.com/'; }

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •