1
Exadelphe
Lifetype and Protector
  • 2008/4/10 8:11

  • Exadelphe

  • Just popping in

  • Posts: 6

  • Since: 2005/2/15


I've installed LifeType. When I go on a blog, I have on the top of my page:

Quote:
Exception message: file(/home4/c/mysite/www/Auteurs/xosecure/modules/protector/configs/badips9998c4) [function.file]: failed to open stream: No such file or directory
Error code: 2
-- Backtrace --
/home4/c/mysite/www/Auteurs/xosecure/modules/protector/class/protector.php(250): file
/home4/c/mysite/www/Auteurs/xosecure/modules/protector/include/precheck_functions.php(16): protector.get_bad_ips
/home4/c/mysite/www/Auteurs/xosecure/modules/protector/include/precheck.inc.php(23): protector_prepare
/home4/c/mysite/www/Auteurs/mainfile.php(102): include
/home4/c/mysite/www/Auteurs/modules/lifetype/class/bootstrap.php(40): include_once
/home4/c/mysite/www/Auteurs/modules/lifetype/index.php(9): include_once


What can I do?

Thanks

2
avtx30
Re: Lifetype and Protector
  • 2008/4/10 8:17

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


First check if "/home4/c/mysite/www/Auteurs/xosecure/modules/protector/configs/" is writable (chmod 777).
Xoops Demos:
http://www.nhatban.net/info/a0021.html

3
Anonymous
Re: Lifetype and Protector
  • 2008/4/10 8:19

  • Anonymous

  • Posts: 0

  • Since:


Quote:
Exadelphe wrote:

Quote:
Exception message: file(/home4/c/mysite/www/Auteurs/xosecure/modules/protector/configs/badips9998c4)


Does the configs directory and the "badips9998c4" file exist? If so, are they readable/writeable?

4
Exadelphe
Re: Lifetype and Protector
  • 2008/4/10 9:34

  • Exadelphe

  • Just popping in

  • Posts: 6

  • Since: 2005/2/15


configs is writable (chmod 777)

in "configs" I have "configcache9998c4" (writable in chmod 644) but I don't have "badips9998c4"

and what?

5
Anonymous
Re: Lifetype and Protector
  • 2008/4/10 11:16

  • Anonymous

  • Posts: 0

  • Since:


okay.....

manually create a file called "badips9998c4" (no filename extension), place it in the "configs" folder and make it writeable. Start with a CHMOD of 777 and then tighten it from there until it no longer works. Then go back one step

Whilst you're there, make sure that you have the "group19998c4" file referred to in Protector admin's "Protect centre". Like the other file, there's no filename extension and it should be writeable too.

These two files are where Protector stores its list of banned and "never to be banned" IP addresses.

Let us know how you get on after doing this.

6
Exadelphe
Re: Lifetype and Protector
  • 2008/4/10 12:20

  • Exadelphe

  • Just popping in

  • Posts: 6

  • Since: 2005/2/15


You are the best!

It's good.

Something else now:
- where can I find Themes for LifeType

and is it normal, I have no admin panel for LifeType?
Resized Image


and the last: my mainfile.php is on a chmod 666, when I want to change the chmod I have:
Quote:
550 mainfile.php: Operation not permitted : /0444 mainfile.php


and I can't change it!

7
Anonymous
Re: Lifetype and Protector
  • 2008/4/10 13:35

  • Anonymous

  • Posts: 0

  • Since:


Right...

Admin panel 1st:
1. Is your /cache directory set to CHMOD 777?
2. Is your templates_c directory set to CHMOD 777
3. Can you delete the contents of your templates_c directory (except for the index.html file)?

CHMODing
Is there a .htaccess file in your xoops_root folder (the folder with mainfile.php in it? If so, can you delete it? It's not part of the standard XOOPS install.

You must get your mainfile.php to CHMOD 444 as it's a security risk not to; it contains your database username and password.

Does any of this help?

PS: I know nothing about Lifetype (yet!) - perhaps someone else can help?

8
btesec
Re: Lifetype and Protector
  • 2008/4/10 15:19

  • btesec

  • Friend of XOOPS

  • Posts: 623

  • Since: 2007/2/20


I use the same setup with 2.3 beta rc1 and causes my site to go blank when I turn on any of the lifetype blocks for the index page. But when I click the link on the site menu it works as normal. It seems it is only the blocks not working. Help please?

btesec

9
Mamba
Re: Lifetype and Protector
  • 2008/4/10 15:29

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
Something else now:
- where can I find Themes for LifeType


in the "themes" subdirectory

Additional themes are at:

http://wiki.lifetype.net/index.php/Templates

Quote:
and is it normal, I have no admin panel for LifeType?


yes. You make your changes through LifeType interface.

For example, to change your theme:

1) go to:

http://yourwebsite.com/modules/lifetype/admin.php

2) Click on the top menu "Control Center",
3) then on Settings: Block Settings:

4) Select the right "Template" for you

5) click "Updated"
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

10
Exadelphe
Re: Lifetype and Protector
  • 2008/4/17 12:41

  • Exadelphe

  • Just popping in

  • Posts: 6

  • Since: 2005/2/15


I've a new problem...

I've made an update for LifeType with the Sato-san's package...


and now I've:

Quote:
Internal Server Error

Could not execute script "/home4/mysite/modules/lifetype/index.php"


What can I do?...

Login

Who's Online

137 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits