Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 01:11:41 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155538 Posts in 21712 Topics by 7769 Members
Latest Member: deanmacullam
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Newbie - Help please! 404 file not found for Admin/Start/Index.php  (Read 1013 times)
chevez247

Offline Offline

Posts: 11


« on: November 15, 2010, 06:33:40 PM »

http://www.squeaker.org.uk/admin/start/index.php
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

I am a designer way over my head in helping a client move their CMS to a new hosting company. I have installed a MySQL database on Fasthosts and am trying to install, but I get this error.

I have looked through FAQ with no joy. Can anyone help please? Have been messing around with this all day and had no idea it was so complicated as I said I would sort 'as a favour'!

Thanks in advance,

Steve
Logged
chevez247

Offline Offline

Posts: 11


« Reply #1 on: November 15, 2010, 06:42:52 PM »

I have been messing around all day and have uploaded the old content, but I can't log into Website Baker for them to update the site.
Am I being thicker than designers usually are?!
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #2 on: November 15, 2010, 06:47:46 PM »

maybe this can help:
http://www.websitebaker2.org/topics/moving-from-server-a-to-b.php
Logged

chevez247

Offline Offline

Posts: 11


« Reply #3 on: November 15, 2010, 06:55:58 PM »

Sorry to be a pain. My client is 90 years old and has no idea about technology and the reason we left the old hosting company is he forgot his log-in details and fell out with the old company.

I grabbed a copy of the pages but have no idea about details for logging in to control panel etc.

Can I find these out anywhere?
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #4 on: November 15, 2010, 07:16:20 PM »

is there a .htaccess in the root?
your install is here http://www.squeaker.org.uk/wb/index.php
rename the index.html to index.html.orig
Logged

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #5 on: November 15, 2010, 07:26:25 PM »

http://www.squeaker.org.uk/wb/admin/login/index.php

pls check your config.php
Logged

chevez247

Offline Offline

Posts: 11


« Reply #6 on: November 15, 2010, 07:38:15 PM »

So sorry DBS, check my config.php. For what? And how??
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #7 on: November 15, 2010, 07:45:24 PM »

check for right path
check via ftp with an text-editor (or download the file)

sorry, my english is poor smiley

hope anybody can help you
« Last Edit: November 15, 2010, 07:47:29 PM by dbs » Logged

chevez247

Offline Offline

Posts: 11


« Reply #8 on: November 15, 2010, 07:55:49 PM »

You are being a big help. Thank you.

<?php

define('DB_TYPE', 'mysql');
define('DB_HOST', '213.171.200.62');
define('DB_USERNAME', 'johnhopewell');
define('DB_PASSWORD', 'langr1s41234');
define('DB_NAME', 'squeaker');
define('TABLE_PREFIX', 'squeaker');

define('WB_PATH', dirname(__FILE__));
define('WB_URL', 'http://www.squeaker.org.uk');
define('ADMIN_PATH', WB_PATH.'/admin');
define('ADMIN_URL', 'http://www.squeaker.org.uk/admin');

require_once(WB_PATH.'/framework/initialize.php');

?>

How does this all look? OK?
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #9 on: November 15, 2010, 07:58:52 PM »

i hope you dont post the right password here smiley

your wb-install is in
http://www.squeaker.org.uk/wb

change the 2 pathes to
Code:
define('WB_URL', 'http://www.squeaker.org.uk/wb');
and
Code:
define('ADMIN_URL', 'http://www.squeaker.org.uk/wb/admin');

« Last Edit: November 15, 2010, 08:12:26 PM by dbs » Logged

chevez247

Offline Offline

Posts: 11


« Reply #10 on: November 15, 2010, 08:02:27 PM »

Just changed it!!

Does all of that info look OK?

Any ideas on what the problem is please?
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #11 on: November 15, 2010, 08:06:26 PM »

answer is in the post before.

but how many times you install wb in this domain?

what is the path of the config.php?
« Last Edit: November 15, 2010, 08:14:20 PM by dbs » Logged

chevez247

Offline Offline

Posts: 11


« Reply #12 on: November 15, 2010, 08:15:25 PM »

Sorry. I have now updated the paths, but now get this error.

Error: Database host name, username and/or password incorrect. MySQL Error:
Access denied for user 'johnhopewell'@'88.208.252.130' (using password: YES)

If I use the old password I still get the same message as before - 404.

Do I need to install WB again? I have tried twice already.
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #13 on: November 15, 2010, 08:18:24 PM »

http://www.squeaker.org.uk/wb/
now i see website under construction
Logged

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #14 on: November 15, 2010, 08:21:32 PM »

you must be sure about db-username, db-password, db-name.
and the db-host is normally localhost, not any ip.
is the a file like .htaccess at the config.php?
please rename the index.html to index.html.orig otherwise the index.php can't work
« Last Edit: November 15, 2010, 08:27:03 PM by dbs » Logged

dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #15 on: November 15, 2010, 08:31:41 PM »

i think is better you reinstall wb by call the install-directory  .
let the db-host with localhost.
after install delete the intsall-folder
« Last Edit: November 15, 2010, 08:40:02 PM by dbs » Logged

chevez247

Offline Offline

Posts: 11


« Reply #16 on: November 15, 2010, 08:33:22 PM »

If I put in 'localhost' and not IP, then I get this error.
Error: Database host name, username and/or password incorrect. MySQL Error:
Can't connect to MySQL server on 'localhost' (10061)

If I put the IP back in, check all username/password/paths as changed then I now get.
Error: Database host name, username and/or password incorrect. MySQL Error:
Access denied for user 'johnhopewell'@'88.208.252.130' (using password: YES)

If I then check the config.php file again, the WB_URL and ADMIN_URL do not have the 'wb/' I typed in.


HTACESS.txt file
# Example .htaccess wich allows to parse .html as php
AddType application/x-httpd-php .html

Help!! Thank you so much for yout time.
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #17 on: November 15, 2010, 08:39:13 PM »

ok, the htaccess we can forget.

check the date and time of the config.php on your server.
Logged

Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2296



WWW
« Reply #18 on: November 15, 2010, 10:23:29 PM »

You are installing WB on a IIS server. (IIS7)

http://www.websitebaker2.org/en/help/user-guide/installation/prior-to-installation.php#anker1
Please note that it is difficult (but not impossible) to run WB on an IIS server.

On most Microsoft servers (using hosting control panels) the /admin/ folder is a reserved name.
.htaccess does not work.
File permissions are difficult to manage on the paranoia IIS7
PHP installation can be problematic and needs tweaking
Logged

Professional WebsiteBaker Solutions
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #19 on: November 16, 2010, 07:20:54 AM »

the install is now ready. permissions for folders and files are 0600.
Logged

mjm4842

Offline Offline

Posts: 227


« Reply #20 on: November 16, 2010, 04:04:19 PM »

Hi chevez247,

I don't believe your permissions are correct if they are all 0600. Check out this link:
http://www.websitebaker2.org/forum/index.php/topic,19268.msg129174.html#msg129174

It talks about two tools which might help you. One is Fix-Permissions and the other is Check-WB. Both will take a look at your server and at the permissions for your files and folders to ensure that things are setup correctly.

If your problem is a lost password, migrating from one server to another will only port your problem from one place to another.

Last but not least, I believe you might be using the wrong path to access your website.

WHAT DOESN"T WORK:

http://www.squeaker.org.uk/wb/
http://www.squeaker.org.uk/wb/admin/login/index.php

WHAT DOES WORK:

http://www.squeaker.org.uk/
http://www.squeaker.org.uk/admin/

If the problem is that you forgot the admin password, you may be able to resolve that issue using any of the following three different approaches. Note that all of them require that you have access to phpMyAdmin:

http://www.websitebaker2.org/forum/index.php/topic,16187.msg106031.html#msg106031

http://www.websitebaker2.org/forum/index.php/topic,15484.msg100114.html#msg100114

http://www.websitebaker2.org/forum/index.php/topic,926.msg5637.html#msg5637

Using this information, you can work around the problem by creating a php script that does the same thing and then uploading it to your website. Just be sure to delete the script after you are done.

Either way, I would suggest that you or your client contact your hosting provider to regain access to their control panel. Chances are this won't be the last time you will need access.

Does this help you at all?

With best regards,

Michael Milette
« Last Edit: November 16, 2010, 04:18:43 PM by mjm4842 » Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!