How to config CI on the server? |
[eluser]PEN Vannak[/eluser]
Dear CI team members, I have the problem with the config the file in CI when I hosting. The message show like this: A PHP Error was encountered Severity: Warning Message: require(D:\hshome\c260072\doptraining.org\vannak.pen/system/libraries/Output.php) [function.require]: failed to open stream: No such file or directory Filename: codeigniter/Common.php Line Number: 116 or you can see on this link: http://www.doptraining.org/vannak.pen. How can I config it to work? Could any one help me please! Best Regards, PEN Vannak.
[eluser]John_Betong[/eluser]
[quote author="PEN Vannak" date="1249141290"]Dear CI team members, I have the problem with the config the file in CI when I hosting. The message show like this: A PHP Error was encountered Severity: Warning Message: require(D:\hshome\c260072\doptraining.org\vannak.pen/system/libraries/Output.php) [function.require]: failed to open stream: No such file or directory Filename: codeigniter/Common.php Line Number: 116 or you can see on this link: http://www.doptraining.org/vannak.pen. How can I config it to work? Could any one help me please! Best Regards, PEN Vannak.[/quote] The error message states that you are trying to access a file on your hard drive: require("D:\hshome\c260072\doptraining.org\vannak.pen/system/libraries/Output.php") Check your index.php and see if your application folder is set correctly. If so then check the other setup parameters.
[eluser]PEN Vannak[/eluser]
Thank you for good advices, After I input the file path to application folder in page index.php like this: $application_folder = "D:/hshome/c260072/doptraining.org/vannak.pen/cache/application"; It knows the path file, the url called the index.php page. But the code in index.php doesn't work. You can see the message that I wrote in the index.php page http://www.doptraining.org/vannak.pen/index.php. Do you have any idea to help me? I'm waiting to get the solution from you soon.. Best Regards, PEN Vannak
[eluser]John_Betong[/eluser]
If and only if you have uploaded CodeIgniter to http://doptraining.org/vannak.pen/ then according to the instructions given in index.php: try: $systen_folder = 'system'; $application_folder = 'application'; and in your system/application/config/config.php file set your base path: $config['base_url'] = "http://doptraining.org/"; If this does not work then let us know where you have installed the system and application files. |
Welcome Guest, Not a member yet? Register Sign In |