I downloaded a CRM application based on PHP. I want to try it on my XAMMP Server. I install it. But I can not login because of 404 error.
Then I rename index.php file, and
Then I noticed that an entire folder never appeared on my webpage. Normally, There are a "application" folder. But it is missing.That is appearence of my Chrome page
just a note : I activate mod_rewrite
Please Help me
This problem is valid for me. And I cant take a good answer. But, you vote down, and I cant ask question. Bravo!
Make sure the Apache-server (XAMP) user have permissions to access the directory. Also, make sure that your redirect mentioned points to a place that exist.
Related
I have a website that it's working, so if I go to its address on the web, it shows up. When I connect with the FileZilla Client and go to var/www/mywebsite/html/ I cannot see the html files.
I need to change some html files, add others and so on.
Does anyone has a clue why I cannot see the files and how can I solve the issue?
did you verify if your ftp user had rights to your www directory? if not, you will need to go in via ssh to change file permissions.
Are you sure that you are not looking at the files with the tree view option? You need to look at you're files with the detail view option. If you still can't see them I'm assuming you are in the wrong directory.
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.
I am completely new to web-dev and wamp, I have to use it for a college project to build a website using php. I installed the newest version of wamp. I cloned my project repository into the www folder.
When I run "localhost" in the browser, I get the generic wamp page and I can see my project folder on the bottom of the page under the "Projects" heading
when I click on the project it does not open and I get a 404 not found error. This is not the same issue a thousands other people have written about, where when they uses the path "localhost/projectname" they get access to their project but when they just click their project the path is "projectname" and they dont see their project. I have read tons of posts with people that have that problem and I do not think I have the same issue becase when I click on my project link on the wamp hompage, I get the complete path "http://localhost/PaperCloudBackend/" and this shows a 404 error
Keep in mind that all I have done with wamp so far is:
1) install it
2) clone repo into www folder
3) opened browser with localhost
4) clicked on my project name
I would really like a concise answer to why this is happening so I can learn the root cause, and also a solution to the problem because i have not contributed to my team codebase at all and I have not been able to solve this issue after 1 week.
Thanks
I assume that its an .htaccess error which is clashing . If you have .htaccess in your project then check it if you have given the correct url in the .htaccess rule or you can delete the file(.htaccess) and run the project in your browser.
Another problem that you should check is there any index file is present in the root of the folder you are trying to access.
I hope this might help you.
Currently thats also happed with me on window8.1, To prevent this open the index.php file from root directory wamp/www/index.php.
Change
$suppress_localhost = true;
To
$suppress_localhost = false;
Hope this will help you to fix the problem.
Please make sure that index file exist in your "PaperCloudBackend" directory as it is the entry point of execution.
We recently have adquired the credentials to fully play with our website hosted outside.
So we need to mount it locally on a XAMPP stack to fully deploy the site and asociated database.
It've been already done, and everything seems to work properly except for the images in the site.
It is a DRUPAL site. Some images are "full path coded", so they work as we can expect, but major of them are just relative path coded.
Now, I've everything mounted on localhost. Let's say the folder with the site it's called "web".
Then i've everything on:
c:/xampp/htdocs/web/.......
So I access to it via: http://localhost/web/
I've tested that all the non viewing images, if I append the "http://localhost/web/" on the 'src="/site/..."' they are accessible and look right.
So, is there a way to via .htaccess add the "http://localhost/web/" on those URLs who hasn't it? It doesn't only happens with images, it's just related with all the links, urls, srcs, whatever which is just "relative pathed".
I've already tried the "RewriteBase /web", but it doesn't work.
Need help to solve this so, please.
In summarize, the site online is just mounted on the root, so everything works, fully or just relativetly pathed. But in my case, I've got the development site inside a folder, so I need it to work too!
Much appreciated.
If this is a Drupal 7 site (might work for Drupal 6) make sure you have a tmp directory set. Go to admin/config/media/file-system and look for the temporary directory. Also confirm that you have this directory on your root, which for XAMPP is the htdocs folder.
This might be a file permission that can be caused by incorrect .htaccess settings (This link may help: https://www.drupal.org/node/2140629) in the folder set as your temporary directory.
This may also be a document root error. You can change that by editing the DocumentRoot setting in C:\xampp\apache\conf\httpd.conf.
This stackoverflow link may help if none of the above suggestions bear fruit: https://drupal.stackexchange.com/questions/30113/configuring-the-temporary-directory
im working with scriptcase php code generator and as i build up my project, i uploaded it into my account in siteground.com. Now, i try to open it from the browser using mydomain.com/project_folder and it needs the initial configuaration.. all well till now, the prboblem starts when i get to the 3rd step where i need to setup or edit my db connection.. here it shows me this:
"404 - Not Found
The page you are trying to access does not exist.
If this error persists, please contact the website webmaster.
If you are the webmaster of this site make sure that:
You have uploaded correctly your files to the public_html directory which is the web-root of your account;
You have not misspelled the URL. Bear in mind that letters are case sensitive and no blank spaces are recommended;
In case you have applied SEO - SEF URL rewrite rules, make sure you have renamed the htaccess.txt file to .htaccess. If there is already a non-empty .htaccess file, check it and make sure the necessary rules are uncommented."
.. and, when i click on the rename connection, it shows:
"Rename Connection
There are no connections saved on the production environment."
none of these reasons is the one causing the problem..than what should i do??
thanks in advance!!
Not sure about siteground but important to give all files in the _lib directory of your app 777 permissions while you are setting it up
Also SC heavily uses sessions -- make sure you clear all cookies in your browser when moving from one SC app to another