1 crazyjadles Sep 17, 2007 05:28
3 crazyjadles Sep 18, 2007 01:31
/**
* Location of the HTml SeRVices folder.
*
* Note: This folder NEEDS to by accessible through HTTP.
*
* @global string $htsrv_subdir
*/
$htsrv_subdir = 'htsrv/'; // Subdirectory relative to base
$htsrv_path = $basepath.$htsrv_subdir; // You should not need to change this
$htsrv_url = $baseurl.$htsrv_subdir; // You should not need to change this
* @global string $baseurl
*/
$baseurl = 'http://danandjadles.com/blog//';
Also... I tried to look in the htsrv folder and it says,
Unable to change directory to /home/danandja/public_html/blog/htsrv! You do not seem to have access permissions! (System Error: Permission denied)
So tried changing the permissions,
/home/danandja/public_html/blog/htsrv chmod failed: Operation not permitted in /home/danandja/public_html/blog
Would this be the reason for the site not logging on?
Thanks :)
4 crazyjadles Sep 22, 2007 02:10
bump
5 afwas Sep 22, 2007 02:23
Delete the second slash (/) from $baseurl so it reads:
* @global string $baseurl
*/
$baseurl = 'http://danandjadles.com/blog/';
This is what John replied (his second option).
You must have missed the clue: Fantastico often adds a second slash, so there are two slashes and there should be only one.
Good luck
6 crazyjadles Sep 22, 2007 03:52
Hey, thanks for the reply. Have changed to only have one slash. However when trying to access www.danandjadles.com/blog/admin.php
Warning: main(/home/danandja/public_html/blog/htsrv/login.php) [function.main]: failed to open stream: Permission denied in /home/danandja/public_html/blog/inc/_main.inc.php on line 615
Warning: main(/home/danandja/public_html/blog/htsrv/login.php) [function.main]: failed to open stream: Permission denied in /home/danandja/public_html/blog/inc/_main.inc.php on line 615
Fatal error: main() [function.require]: Failed opening required '/home/danandja/public_html/blog/htsrv/login.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/danandja/public_html/blog/inc/_main.inc.php on line 615
The permissions of _main.inc.php is 644
Any other suggestions??
7 afwas Sep 22, 2007 04:20
Looks like the permission of the blogs/htsrv/ folder is not set correct (you mentioned this before). To set the permission, go to the site of your host and login to the cPanel or equivalent your host provides. In there check the files / folders and you will be able to change the permissions. The administration panel provided by your host should have a good help system to guide you through this proces.
Good luck
8 crazyjadles Sep 22, 2007 04:59
Hmmm it must be something i'll have to take up with cpanel as it says i don't have permission to change the permissions on the htsrv folder. I am unsure how it got to be like that. Is there someway somebody changed the permissions?
9 afwas Sep 22, 2007 05:09
Have a look first before you start to wonder B).
Permissions are sometimes accidentally changed if your host moved the server or did some other upgrade. Also there is a nasty and very sophisticated virus around that sneaks into ftp uploads and changes permissions. But this virus should show up on your computer's virusscanner, so chances are slim you are infected.
Folder settings are usually 755 and file settings are 644.
Good luck
10 crazyjadles Sep 22, 2007 07:49
Yeah it couldn't be a virus, unless the net cafe had a virus (those things are pretty locked down)
Permissions atm are set to 000 and when trying to change to 644 tells me i can't. Tis frustrating :)
11 village_idiot Sep 22, 2007 08:05
crazyjadles wrote:
Permissions atm are set to 000 and when trying to change to 644 tells me i can't.
If you have something with permissions set at 000 you arent going to be able to do anything. Nothing, nada, nilch.
Thats an issue for someone that has root access on that box -- aka your host.
12 crazyjadles Sep 22, 2007 08:09
cool thanks guys
i appreciate your guru-ness on this subject
13 village_idiot Sep 22, 2007 08:12
no worries, send off an email to your host, give them the path(s) to whatever directory/files have those permissions, and ask them to reset them for you:
755 for directories, 644 for files.
Well, that's not where the login form should be. It normally is in /htsrv/login.php, so it would seem that your b2evo has for some reason "forgotten" where to look for the htsrv files.
Check in /conf/_advanced.php around line 400:
And see if the variable assignmet is correct, and then see if the files are actually there and are readable.
A second thing you should check is the setting of $base_url in /conf/_basic_config.php. Some people have reported that upgrading via Fantastico appends a slash (/) to this URL, and this causes several problems. That definition is araound line 90 and in your case it should say:
Check those two things, maybe the second first and the let us know what you found out.