Announcement

Collapse
No announcement yet.

Portal error 404

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MATO
    replied
    OK absolute didn't make a difference.

    Running out of ideas

    Leave a comment:


  • Maximus
    replied
    Try to comment RewriteBase with # sign and don't use it at all? What will happen if you do it?

    Leave a comment:


  • MATO
    replied
    Hi Maximus

    I can now create a local portal as long as the following is added to the

    espocrm/api/vi/portal-access .htaccess file

    RewriteBase /espocrm/api/v1/portal-access/

    When I do the same to the external server version it fails

    I do believe its an .htaccess issue now

    External Server .htaccess files change

    espocrm/api/vi

    RewriteBase /api/v1/

    espocrm/api/vi/portal-access

    RewriteBase /api/v1/portal-aceess/


    Possible absolute file path issue although if I add /espocrm/api/vi/ it breaks the main system

    Any ideas


    Leave a comment:


  • Maximus
    replied
    No one folder doesn't create in the portal directory. 127.0.0.1(localhost)/espocrm/portal/5d1c8a6b7c444e37d/ it is not a physical way to the portal directory. 5d1c8a6b7c444e37d it is just an ID that stored in the DB. When you call the /espocrm/portal/5d1c8a6b7c444e37d/ it requests for the portal with ID 5d1c8a6b7c444e37d and geting an access to it.

    Leave a comment:


  • MATO
    replied
    Ok so have checked all permission on Host and have created a local XAMP version to rule out ISP



    Out of interest should we see a folder created in espocrm/portal called 5d1c8a6b7c444e37d ?

    Leave a comment:


  • Maximus
    replied
    > Portal folder is set to 705
    For the Portal directory should be set permission 755 and for files inside of it 644. All permission should be set according to these requirements https://www.espocrm.com/documentatio...-based-systems.
    Firstly I suggest to set the proper permission, and if it not will help then try to make a few described previously steps.

    Leave a comment:


  • Maximus
    replied
    1. EspoCRM is not available by using such URL as /companyname/api/v1/. It is available by using just /companyname.
    2. Try to comment on the RewriteBase directive in the /ESPOCRM_DIRECTORY/api/v1/.htaccess file.
    3. Try to enter into the portal from Administration -> Portal -> click on the portal link.

    Leave a comment:


  • MATO
    replied
    More info on this.

    Current version: 5.6.2
    Portal folder is set to 705

    Leave a comment:


  • MATO
    replied
    Hi Maximus

    Its an Apache server with a default portal name.

    Thanks for your help

    Leave a comment:


  • Maximus
    replied
    Hello MATO.
    The error 404 (page not found) means that mapping is wrong. What kind of a web server do you use, Apache or NGINX? Do you use default or custom portal name?

    Leave a comment:


  • MATO
    started a topic Portal error 404

    Portal error 404

    Hi All

    We are looking at ESPOCRM and so far very impressed.

    On installation (Out of the Box) we had to do the following changes

    Add the following to the install folders php.ini file

    max_input_time=180
    memory_limit=256M
    max_execution_time=180
    post_max_size=20M
    upload_max_filesize=20M

    and then add the following change to .htcaccess file in \Api\V1

    RewriteBase /companyname/api/v1/ to RewriteBase /api/v1/

    Installation went well and all is working fine.

    But now the Portal test.

    We went through the documentation for creating a Portal, adding a new Role and User.

    The given URL provides a

    -------------------------------------------- 404 Page Not Found

    The page you are looking for could not be found. Check the address bar to ensure your URL is spelled correctly. If all else fails, you can visit our home page at the link below.
    Visit the Home Page

    ---------------------------------------


    Can we please get some help with this as its the last part in our journey.

    Thank you in Advance

    Mato
Working...
X