code igniter admin folder not working in localhost wamp server - php

Code igniter admin module creation issue in wamp server.
This one is working for me in local file and the server path
localhost/site/
but the admin folder is not working in wamp server, the server uploaded files are working and am getting the admin folder.
localhost/site/admin/
This was downloaded from the server for testing purpose, why it is not working in localhost admin folder. Please guide me, how will get rid of this issue.

wampp issue with mode revrite use apache
for those of you who think wampp is a creaton for got to help you make the word better bad news
if you chek google wampp mod_rewrite not working About 254,000 results
and if the url was working on a normal server and not on a local host it has noting to do with codeigniter it has much to do with winshit and xampp.
youse it widout mode rewrite and .htaccess
url/index.php/someign

Related

Xampp Settings for localhost

I cant see my xampp settings: using this URL http://localhost/xampp/
This is the result im looking for:
I dont know why but if i look at examples, everyone's URL looks like http://localhost/xampp/ if i use this Url i get a page saying:
Object not found! The requested URL was not found on this server.
The directory is located in C:\xampp, and if i just add http://localhost/ as domain i get the tree structure of everything within C:\xampp\htdocs.
Also using Xampp v3.2.2 , if im in control panel and click on the Apache Config tab it open my file structure as mentioned above everything within C:\xampp\htdocs.
I just want to mention im using Windows, not Mac, but i meen both windows and mac has these Apache settings afcourse, i just dont get it how i cant find it using http://localhost/xampp/.
Apache & MySQL is switched on.
What i think could be the problem:
Could it be that im missing the /xampp directory within the /htdocs directory ?
Im not sure if there should be a xampp directory in htdocs but its the
only thing that makes sense?
Possible reason: Something is running with port 80
when you run Xampp, check the apache port no. ex: if it is displaying port 8012
then your url is http://localhost:8012/dashboard/
Check Directories for Xampp
Xampp directories.
more about this topic
For check all dependencies in the : httpd-xampp
The only reason i see is the xampp file should be located in the htdocs folder at least that is how i have it.
However i do not think that this will cause a problem for you in developing anything.
Hope this was helpful :)

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.

wordpress downloading php file instead of viewing the webpage

I installed wordpress on my local machine (backtrack) for experimenting. After I got everything setup I moved it to an Ubuntu Server so that everybody can access those pages at work. I followed the same instructions, I moved the wordpress folder into /var/www but I created a new database with the same username, password and hostname.
The problem is whenever I access the webpage #ubuntu it tries to download the file, if access the page #backtrack it goes to the dashboard and everything is fine.
I did not have an .htaccess file on either machine sop I created one just to see if it will fix the problem but it did not.
Apache works fine because I can get to some folders I have setup by going to
"http://ubuntuserver/folder name"
and the logs shows no errors because it is delivering the webpage to the client just fine but the client is downloading it instead.
Any Ideas why this is happening??
Sounds like you haven't installed the PHP module for Apache or enabled it to use PHP using AddType in the Apache config file.
It seems that your WebServer ( Apache here, i suppose ) is not configured to use PHP module and/or is missing some PHP configuration options.
See here for some basic configuration tutorial.

Wordpress Live to MAMP

I am having trouble moving a Wordpress installation from my live server to MAMP. So far I have
Copied all the files from the live server to a directory on my local machine (htdocs)
Backed up the database from PHPMyAdmin
Replaced http://www.mysite.com with (http://)localhost:8888/mysite/
Replaced /var/www/vhosts/mysite/httpdocs/ with /Applications/MAMP/htdocs/mysite/
What I see is the homepage working with all the menus and posts there and the admin seems fine however when I click a menu item I get an error message saying:
The requested URL /index.php was not found on this server.
I cannot get past the homepage. Can anyone help? Many thanks in advance.
My best guess is that you've not updated your .htaccess file. You'll need to change your RewriteRules.
This is (probably) because your site was originally on the root of your webserver and now it's in a subdirectory within your MAMP.

iis7 serving .php file

I have a old php applications which was earlier hosted on Apache 2.2. Now I am trying to host it on IIS 7.5. I installed php with WebPlatform installer. Then copied directory to inetpub\wwwroot folder. Added this directory as application in IIS. But when I browse search.php, it pops up save as file dialog in the browser - asking to save the file. Instead should return the html response which browser can show.
If put sample index.php with phpInfo() in it. It works properly but not the acutal PHP files. Have I missed any steps?
Any php guys out there? I tried reinstalling, even with xampp, but no luck :(
You have installed it but might not be configured properly. You should follow instructions over here

Categories