codeigniter live domain setup issue - php

On local CI setup is working fine but when I uploaded on server it shows this error:
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
I have tried some of the changes like change the system folder path but nothing seems to work.

Instead of uploading all the files to server, first install ci on server, Check if you are able to view welcome page. Once you can see welcome page, upload other files

Related

Do you know why I can't access my php file on my browser but can access the folders?

I have a php project and I can't acess my file when I go in my browser: http://localhost/www/main/index.php.
However, when I go to http://localhost, it displays all my folders of my project.
For information, I'm using LAMP.
The error is just that it can't find the url http://localhost/www/main/index.php
Here is the folder structure of my app :
Could you help me please ?
However, when I go on http://localhost, it displays all my folders of my project.
As per your picture, the URL of the folder which displays all these subfolders of your project is actually http://localhost/VetDev.info, not http://localhost.
Therefore
http://localhost/VetDev.info/www/main/index.php
is the correct URL to your index file.

laravel-filemanager showing error after transfer application from local host to live hosting

I have installed TinyMCE and Laravel-file manager. Here are the referring links which I followed-
https://www.tinymce.com
https://github.com/UniSharp/laravel-filemanager
Now everything works well on my localhost. Attaching an image of successful output to localhost
success in localhost
Now After uploaded my application into the live server while I was trying to upload the image, I have faced file manager showing me an error and it doesn't work.
This is the error image I got-
Error image while uploading application on live server
Anyone, please help me find the solution and tell me what should I do now.
I found 2 errors in my files and 1 in my cpanel and i made those errors while uploading my project from localhost to live server(tzipor.com/tz). I had to made correction two path while uploading to live server(tzipor.com/tz) but i did not do that. Those occurred the problem. Here i am explaining those-
I am using tinymce and i am integrating filemanager with that. I had to make correction to my tinymce editor file. Giving you a link of image referring to my localhost file. https://ibb.co/bZdwew
the tinyeditor file, while in localhost, path_absolute : "/", is the correct code. But this should be change based on my live server url. As my live server url the code should be path_absolute : "/tz/", https://ibb.co/c3TF6b
So we need to careful here while upload project localhost to live server
in config/lfm.php this code was correct while my project was in my localhost- 'base_directory' => 'public', .https://ibb.co/jKYezw But after upload project into live server this path should need to change based on my server link. As my live server link, this should be 'base_directory' => '../tz', https://ibb.co/mVowew
3.In cpnael->select php version: make sure fileinfo have checked. https://ibb.co/gS9GUw
So we need to be careful in this three sections while upload project localhost to live server.
Thank You
You should make sure that your routes were cached with new entries:
php artisan route:cache
Also make sure you really installed the package running:
composer install
on live server.

CodeIgniter: Your system folder path does not appear to be set correctly...using HTTPS

I'm working with a website that I didn't build, that uses CodeIgniter as its framework. I had a relatively simple task: secure the site with an SSL certificate. No problem.
Except, the site will not load with HTTPS, although it still loads correctly using HTTP. It gives the following error with HTTPS:
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
Now, the error message seems self explanatory...change the system path in the index.php file, but this is what the system path is set to in that file:
$system_path = '/codeigniter/2_1_3';
Fine, but this folder doesn't exist in the directory structure, and neither does a folder named 'system.'
So, I really don't have a clue how to fix this problem. It isn't even clear to me how the website functions at all since I can't find the folder it is supposed to be using as its system folder.
Any help would be appreciated. Please ask if there is any additional information you need to help.

How to modify /xampp added to website url after File Transfer from localhost

I have recently transferred my files from localhost to a web site. I used XAMPP to develop the files and transfer them to the web host. Everything is working fine except that /XAMPP was somehow added to the URL and has prevented access to the main web page. Any ideas on how to modify/remove this would be appreciated. Thanks!
So my webpage www.webpage.com now becomes www.webpage.com/xampp and I need to change the path to a login page from the xampp path
Thanks!
Then, only move files inside htdocs/ to your webserver. Remove other
uploaded files first. After this, try again accessing your
application.

url with joomla folder

I have downloaded one joomla live site folder.set up configuration file and database .But it's giving me error sever not found.
actually my url is http://local.host/foldername/
But it takes www.localhost.com/foldername/
what is the problem with my folder?what can i do for it?
Add www.localhost.com to your hosts file to point to 127.0.0.1.
On Windows it's in C:\Windows\System32\drivers\etc\.

Categories