Skip to main content

Page Not Found - New page not showing up

Comments

10 comments

  • rpvw
    Calling the URL domainname.com/seller in a browser tells the web server to look for an index file (inidex.html or index.php etc) in the /seller folder that can be found under the web root. If the folder or file does not exist, you will get your "Page Not Found" error. Similarly, if the folder does exist but there is no index file, you will receive the same error. You could try using domainname.com/seller.php and seeing if that works, or if you have indeed created the file in a /seller sub folder, try domainname.com/seller/seller.php
    0
  • Emma S
    No dice on the /seller/seller.php route, but trying /seller.php did take me to the Couch login, which is at least different! Here is a shot of what I see in my public_HTML directory. I get the sense that I am not indexing something properly, but I don't know enough to say what that is. You can see my newly-created "seller.php" file on the list as well.
    Calling the URL domainname.com/seller in a browser tells the web server to look for an index file (inidex.html or index.php etc) in the /seller folder that can be found under the web root. If the folder or file does not exist, you will get your "Page Not Found" error. Similarly, if the folder does exist but there is no index file, you will receive the same error. You could try using domainname.com/seller.php and seeing if that works, or if you have indeed created the file in a /seller sub folder, try domainname.com/seller/seller.php

    0
  • rpvw
    So if the domainname.com/seller.php takes you to the Couch login, it must be calling or requiring the login from the php script. At this stage, you need to be looking at the php code in the seller.php file you created, and understanding what it is doing, and why it might be redirecting you to a login dialogue.
    0
  • Emma S
    So if the domainname.com/seller.php takes you to the Couch login, it must be calling or requiring the login from the php script. At this stage, you need to be looking at the php code in the seller.php file you created, and understanding what it is doing, and why it might be redirecting you to a login dialogue.

    That is a good place to start! I'll try to follow that thread and see what I can find. It's frustrating because I copied the script EXACTLY from sell.php which does not redirect to the login. I've edited that page through the file manager as well to confirm that I am in the right directory and it works right as rain. I also just tried an experiment and used the same code I'm trying for my seller.php file on an existing page (listingtest.php) and it works perfectly. I'm baffled, but I don't think it's the script itself.
    0
  • Emma S
    So if the domainname.com/seller.php takes you to the Couch login, it must be calling or requiring the login from the php script. At this stage, you need to be looking at the php code in the seller.php file you created, and understanding what it is doing, and why it might be redirecting you to a login dialogue.

    Update: You were correct! I think I have found the root of the problem, though not the fix. I think it comes down to the script: When I take this out, I am able to view the new page...though it runs without the templates and looks awful. From the research I've been able to do, I think I need to log in with Super Admin privileges when prompted, in order to register the new site file, but I don't know the Couch log-in info. Does anyone have any ideas for me? I've tried creating a new FTP user and a new SQL user, but neither of those did it.
    0
  • rpvw
    I am going to hazard a guess that when you refer to Couch, you are talking about Couch CMS which is a web development content management system. It is entirely possible that the site you took over was originally built using Couch CMS, and if you wanted to continue to use the Couch CMS PHP builder, it should probably be done from within Couch rather than externally as you are doing it. I have no experience of the Couch CMS, and you may get far better advice from the documentation and Forum at www.couchcms.com/forum/viewtopic.php?f=4&t=10223&p=24600#p24602
    0
  • cPanelMichael
    Hi @Emma S, A good troubleshooting step for issues like this is to create a separate sub-directory and install a new instance of the script for testing purposes. This way, you know if the issue stems from copying the script as-is, or if it's an overall issue with how the script is configured by default. Thanks!
    0
  • Emma S
    I am going to hazard a guess that when you refer to Couch, you are talking about Couch CMS which is a web development content management system. It is entirely possible that the site you took over was originally built using Couch CMS, and if you wanted to continue to use the Couch CMS PHP builder, it should probably be done from within Couch rather than externally as you are doing it. I have no experience of the Couch CMS, and you may get far better advice from the documentation and Forum at www.couchcms.com/forum/viewtopic.php?f=4&t=10223&p=24600#p24602

    Thanks, that forum was quite helpful for that issue! I was able to log in, but now I'm getting hit with a 403 error: Forbidden You don't have permission to access /seller/ on this server. Server unable to read htaccess file, denying access to be safe Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. I've set my permissions to 7-5-5 as recommended, but no dice. Does anyone have an idea about that one? I'll try navigating through the phpMyAdmin portal to see if it something I need to do in CouchCMS, but thought I'd chuck it over the fence here, in case there was a quick fix.
    0
  • rpvw
    cPanel generally requires you to have folders under the /public_html path to be set to 755, and files to be 644.
    0
  • cPanelMichael
    Forbidden You don't have permission to access /seller/ on this server. Server unable to read htaccess file, denying access to be safe

    Hi @Emma S, You can browse to the
    0

Please sign in to leave a comment.