11
jdseymour
Re: Can Not Open My Administration Section

Check your permissions on the cache folder, make sure it is writable by the server (usually chmod 777).

12
Dave_L
Re: Can Not Open My Administration Section
  • 2006/10/14 17:25

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I recently had this problem myself in XOOPS 2.0.14.

I had tried changing XOOPS_URL in mainfile.php to a relative URL, e.g. "/xoops".

That resulted in the same "looping" when I tried to enter the admin section.

I tracked the problem to this code in the method checkReferer() in class/xoopssecurity.php:

if (strpos($refXOOPS_URL) !== ) {
   return 
false;
}


That method is called by xoops_refcheck() in include/functions.php, which is called by xoopsfwrite() in include/cp_functions.php, which is called by xoops_module_write_admin_menu() in include/cp_functions.php.

I resolved the issue by changing XOOPS_URL back to an absolute URL, e.g. "http://example.com/xoops".

I'm not sure if this is a bug. The problem doesn't occur in XOOPS 2.2.4. I haven't checked 2.0.15.

13
chefry
Re: Can Not Open My Administration Section
  • 2006/10/14 17:34

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


So I would change it to an absolute URL http://localhost/xoops/????

14
Dave_L
Re: Can Not Open My Administration Section
  • 2006/10/14 19:29

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Is it a relative URL now? If so, try changing it to an absolute URL. Of course the URL I posted is only an example; you would use the URL of your site.

15
chefry
Re: Can Not Open My Administration Section
  • 2006/10/15 10:07

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


Thanks anyway but I found the problem. The suubdirectory was set to read only

Login

Who's Online

285 user(s) are online (243 user(s) are browsing Support Forums)


Members: 0


Guests: 285


more...

Donat-O-Meter

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

Latest GitHub Commits