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
Related
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.
I have recently moved one website to new server. I have transferred everything properly including mysql database. But now the internal pages are not opening (sending 404 error). Homepage looks fine.
One thing to consider here is that, the website was on shared cpanel with another domain and residing in a folder. Now after moving, it is placed directly in public_html. I hope, this doesn't create any issue.
The website is: http://nepaltrekking.co.kr/
regards,
When hosting changes, we need to take care of the following steps for codeigniter:
Check required php and apache modules are installed and enabled.
If installation is not in root directory, you must change htaccess.
If domain is changed, you need to edit config file for new base_url.
Clear application cache if enabled. Give required write permision in cache directory.
If nothing works, then see error log and correct error accordingly.
Actually I resolved it. The issue was with .htaccess. I changed the permission to 666 and it started working. I think there was problem writing in the .htaccess file.
First time asking a question here but I'm really stuck.
Basically I'm trying to install a Silverstripe 3.1 cms on a subdomain as a development site, on my main domain I already have a Silverstripe 2.4 site running.
The first thing that comes up is this error, "development" is the subdomain folder.
Warning: require_once(framework/dev/install/DatabaseConfigurationHelper.php): failed to open stream: No such file or directory in /home/usr/public_html/subdomain/framework/dev/install/install.php5 on line 39
I check if the file is there and it is, then I check if the filepath is wrong because the file that is calling require_once has a full path from home/ but that can't be it because I've been able to install Silverstripe on my localhost.
I google redirecting (I've had no experience with it before) and find stuff on htaccess related to Silverstripe but none were problems that I was having, i.e. there are .htaccess files in main directory and subdomain. Not too sure if they're conflicting but I have tried RewriteEngine Off on my subdomain. I mostly leave the default Silverstripe .htaccess files as they are.
Even declaring different suPHP_ConfigPath's i.e.
main website: home/usr/public_html/
subdomain: home/usr/public_html/subdomain
At this point I look back at the error and try hacking the require_once filepath, changing it to
$_SERVER["DOCUMENT_ROOT"] . '/framework/dev/install/DatabaseConfigurationHelper.php
It mostly works but the requirements check page is void of css and any fails to GET any images
I am able to check all the requirements though passing everything but the File Permissions check:
"Does the webserver know where files are stored?" failed. Showing me the filepath it tried being the absolute path of a file prepended with the path to the subdomain. Looking at the code my hack was never intended to work.
Did I miss something? I'm not very knowledgeable with servers but I've done everything I can think of, is there anything I can do?
Hey thanks for your suggestion but I think it was meant for addon domains? I only wanted a subdomain for testing purposes.
What I ended up doing was to avoid installing Silverstripe on the server and instead install it on my laptop and then upload that to the server. It worked fine after copying the appropriate database and fixing Silverstripe's BaseURL to '/'
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 moved my wordpress site from local host to a live server. The problem is that all links from my nav won't work as the home button.
live site url: http://iulian.cablevision.ro
broken link example: http://iulian.cablevision.ro/about/
this is the error that i get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root#localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.27 (CentOS) Server at iulian.cablevision.ro Port 80
I tried to use the a comand in SQL on my database to update urls:
UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost/wordpres/', 'www.iulian.cablevision.ro/');
And I also tried to use the Velvet Blues pluginbut that didn't work as well... Is the another way to manipulate the database so my links will work properly?
I folowed the tutorial from http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/ but seams to not work for me... Wher is my mistake?
first go to files and rename the htaccess file and then check your live site .it will help you surely.and if you have any issue regarding please descibe in detail
For fixing all links after database migration, I use this tool. After downloading, rename folder for example searchandreplace, add this folder to the root of WP site, access it www.yoursite.com/searchandreplace, and then enter the old site name and in replace input write your new one, but be sure that they both use same convention wording, if you write old site name www.oldsite.com, then new one should be www.newsite.com too, not http://* or something else added. Hope this helps if the problem still persists.
Your old server is not only in the WP_POSTS table, but also in other tables. See here how to move your wordpress site:
http://codex.wordpress.org/Moving_WordPress
Download your existing site files.
Export your database - go in to mySQL and export the database.
Move the backed up files and database into a new folder - somewhere safe - this is your site backup.
Log in to the site you want to move and go to Settings > General, then change the URLs. (ie from http://example.com/ to http://example.net ) - save the settings and expect to see a 404 page.
Download your site files again.
Export the database again.
Edit wp-config.php with the new server's mySQL database name, user and password.
Upload the files.
Import the database on the new server.
First you need a .htaccess if you are using permalink other than default structure copy from here
Now that you have .htaccess try this
Re save permalinks
Check that your server has mod_rewrite enabled
I finaly found the solution. It was the .htacces file the problem... The first mistake I did was that when I was uploading the .htacces file to the server it uploaded as simpe .txt file and the conversion to htacces file type didn't turn. So what I did:
crated a simple text document with no name and uploaded to server
after i uploaded the file i changed the name into .htacces so then the file conersion kicked in.
After that my links worked flawless.
Thanks for the suport you guys gave me btw.