Announcement

Collapse
No announcement yet.

Get 502 Bad Gateway Error

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

  • gustavo veras
    replied
    Hello,

    Can you send me the diagnosis and an image showing this error, please?
    Follow the steps below to generate the diagnosis file in the development environment:

    1 - Go on your ScriptCase and on 'Help' select 'Diagnosis'.
    2 - When appeared, click on " Log file successfully created. Click here, save the file and send to NetMake!" that it's on the top of the page.
    3 - Press the right button of the mouse and click on "Save as..." this file will be saved and send to me.


    Att

    Gustavo Veras
    Scriptcase Team

    Leave a comment:


  • rr
    replied
    Is fpm on or off? (fastcgi Process manager). That one tends to error 502 on a wrong config. I am not an expert in centos but maybe this may help you I hope.

    Leave a comment:


  • jerry
    replied
    This is really a silent forum.

    I fixed all the diagnosis.php's error, mostly is directory's permit, just open the diagnosis.php and get each line.

    The problem is: All OK and still get 502 (if I put a 1.php into the scriptcase/devel/iface/ that works fine.

    What now?

    Leave a comment:


  • jerry
    replied
    Could anybody answer this? still get 502

    Leave a comment:


  • jerry
    replied
    I analysis the PHP code diagnosis.php, and find the code

    $str_ini = get_cfg_var('cfg_file_path');

    return nothing, and also the

    $session_dir = get_cfg_var('session.save_path');

    return nothing too.


    And run the

    /scriptcase/info.php

    gets the php.ini path:
    Loaded Configuration File /usr/local/php/etc/php.ini
    So there's only one config to tell the PHP get_cfg_var how to find the php.ini, where to config?

    Leave a comment:


  • jerry
    replied
    It's centos, the OS.

    Leave a comment:


  • jerry
    started a topic Get 502 Bad Gateway Error

    Get 502 Bad Gateway Error

    I download the Manual Installation package, and unzip it to my directory. I'm sure the ZendGuardLoad is OK and the version is 3.3.

    The iport/scriptcase/diagnosis.php run result:

    1. All OK at the Environment section;
    2. at the Environment2 section 3 errors:
    php.ini PATH:
    Session write permission
    ZendId execute Permission
    How could I solve this?
Working...
X