development subfolder codeigniter does not work

0

Good morning. I'm doing maintenance on a PHP backend that uses the codeigniter framework. To test the new codes, I created a subfolder in the system (testing) and copied the files from the main directory to subfolder.

Looking at the tutorial Codeigniter and .htaccess in the subfolder on the server , I realized I should rewrite the config and .htaccess files in the subfolder. However, I did not succeed.

Below are the photos of the original system files, which are currently found in root and when I copied them for auction, it displays a blank screen with no return. In the original, "response": {"data": [], "status": "0", "error_code": "16", "message": "Please send access key!"}}

Could you help me with this adaptation? Generally I make a copy to my test server, or localhost, but I need to make HTTPs calls from a native application and the PHP version of the system is 5.2, my test server is minimum 5.4.

Thank you very much

    
asked by anonymous 09.07.2018 / 17:02

1 answer

0

I think your problem is just in the configs file where you should set the

$config['base_url'] = ENDERECO_BASE/PASTA_DE TESTE;
    
13.07.2018 / 13:52