codeigniter development subfolder does not work

Asked

Viewed 79 times

0

good morning. I am maintaining a PHP back-end 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 subfolder on server, I realized that I should rewrite the config and . htaccess files in the subfolder. However, I was unsuccessful.

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

Could you help me with this adaptation? I usually 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.

application\config\config.php

inserir a descrição da imagem aqui

Thank you very much

1 answer

0

I think your problem is only in the config file you should set the

$config['base_url'] = ENDERECO_BASE/PASTA_DE TESTE;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.