1
african
Can Not Open My Administration Section
  • 2006/9/23 15:15

  • african

  • Just popping in

  • Posts: 7

  • Since: 2006/3/25


I need your help, I have not upgraded to 2.0.14 because I am having problems. I can not open my administration section here what it tells me "This is your first time to enter the administration section. Press the button below to proceed." This is not my first time entering the admin section I have created a full community. When I press the button this is what I get "FAIL OPEN FILE" what is this?

If I upgrade I will lose everyhing since upgrading is not working it kill one of my site that I developed.

2
iHackCode
Re: Can Not Open My Administration Section

$filename XOOPS_CACHE_PATH.'/adminmenu.php';
    if ( !
$file fopen($filename"w") ) {
        echo 
'failed open file';
        return 
false;
    }

the function cannot open the file.. maybe because it doesnt exist

Try:
check if the 'cache' directory is chmod(777).
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
african
Re: Can Not Open My Administration Section
  • 2006/9/23 17:00

  • african

  • Just popping in

  • Posts: 7

  • Since: 2006/3/25


I check the 'cache' directory and the chmod is (777)

Now what file will I need to open to check the code you just gave me?

4
Dave_L
Re: Can Not Open My Administration Section
  • 2006/9/23 17:23

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The code that Bandit-X posted is in include/cp_functions.php.

1) Try deleting any files in the cache directory.

2) If you still get the error, add the debug code indicated below, and see if the values of XOOPS_CACHE_PATH and $filename look correct:

$filename XOOPS_CACHE_PATH.'/adminmenu.php';
[
color=ff0000]var_dump('XOOPS_CACHE_PATH'XOOPS_CACHE_PATH'filename'$filename);#*#DEBUG#[/color]
    
if ( !$file fopen($filename"w") ) {
        echo 
'failed open file';
        return 
false;
    }

5
african
Re: Can Not Open My Administration Section
  • 2006/9/23 20:21

  • african

  • Just popping in

  • Posts: 7

  • Since: 2006/3/25


ok here's what happen, after I enter the code you gave me and deleted my cache files this is the error I get

string(16) "XOOPS_CACHE_PATH" string(41) "/home/sisters/public_html/community/cache"string(8) "filename" string (55) "/home/sisters/public_html/community/cache/adminmenu.php"failed open file

6
iHackCode
Re: Can Not Open My Administration Section

can u give us some info on what your site is running on?

xoopsscriptinfo.zip

and things like . allow_url_fopen and safe_mode setting
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

7
african
Re: Can Not Open My Administration Section
  • 2006/9/26 16:26

  • african

  • Just popping in

  • Posts: 7

  • Since: 2006/3/25


I hope this helps

XOOPS Version: XOOPS_VERSION","XOOPS 2.0.13.1
Module Name/Version:
PHP Version: 4.4.2
MySQL Version:4.0.27-standard
Web Server Software (Apache/IIS/Other): 1.3.36 (unix)
Operating System: Linux
Theme you are using: 7dana-rose
Custom template: (Yes/No) No
PHP Debug Messages: string(16) "XOOPS_CACHE_PATH" string(41) "/home/sisters/public_html/community/cache"string(8) "filename" string (55) "/home/sisters/public_html/community/cache/adminmenu.php"failed open file
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

8
Dave_L
Re: Can Not Open My Administration Section
  • 2006/9/26 16:40

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Is safe_mode on?

If so, is the cache directory owned by the same user under which Apache runs?

9
african
Re: Can Not Open My Administration Section
  • 2006/9/27 0:29

  • african

  • Just popping in

  • Posts: 7

  • Since: 2006/3/25


I am not sure since I can't log into my admin site. I really don't know a whole lot about this program, since I install it through fantastico in my control panel if you give me your email I can send you my user Id information so you can take a look at what i have.

10
chefry
Re: Can Not Open My Administration Section
  • 2006/10/14 16:45

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I'm geting the same message and I just installed XOOPS. THe install was fine, no problems, all green. I logged in and clicked on the admin section. I get the message "This is your first time to enter the administration section", and it is! I click on submit and I get the "thanks for logging in, click here if not redirected" screen. I wait a second and it takes me BACK to the "This is your first time to enter the administration section" screen. If click on the 'click here to redirect' it takes me back to the "This is your first time to enter the administration section" screen.

Any idea what's going on? How can I fix this? I heard a lot and did a lot of research and I was looking for good things from XOOPS. This is a little dissappointing coming right out of the box.

BTW, I'm using XOOPS with XAMPP on my laptop to configure it, wht the latest MySql security update.

Thanks
Frank

Login

Who's Online

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


Members: 0


Guests: 116


more...

Donat-O-Meter

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

Latest GitHub Commits