11
vincem118
Re: allow_url_fopen disabled and can't access to the website
  • 2007/12/22 0:48

  • vincem118

  • Just popping in

  • Posts: 17

  • Since: 2005/12/21


That's what I did. I have wfchannel as the start page.

What should I have in http://www.mysite.com/index.php then?

12
Will_H
Re: allow_url_fopen disabled and can't access to the website
  • 2007/12/22 4:42

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


you aren't supposed to touch that file. It is part of the XOOPS core. Reupload that file and set wfchannel as your start page through the admin panel.

XOOPS does not require fopen. In fact if you had protector installed you would be encouraged to turn it off if it were on.

13
script_fu
Re: allow_url_fopen disabled and can't access to the website

Quote:

vincem118 wrote:
That's what I did. I have wfchannel as the start page.


Good does the website work now? Do you have access to any of the site???? If not please explain the problem again exactly!!!

Quote:

vincem118 wrote:
What should I have in http://www.mysite.com/index.php then?


What do you mean?

Here is the code out of a newer version of XOOPS 2.0.17 index.php It might be different than what you have. Please re download your XOOPS version.

Did you hack/change this file???
Is this how you were loading wf-channel?

// $Id: index.php 2 2005-11-02 18:23:29Z skalpa $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                                                    //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
/**
 * Catch new users and redirect them to the start page, if any
 * @copyright © 2000 xoops.org
 **/
 
/**
 * redirects to installation, if XOOPS is not installed yet
 **/
include "mainfile.php";

//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
    
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
    exit();
} else {
    
$xoopsOption['show_cblock'] =1;
    include 
"header.php";
    include 
"footer.php";
}
?>


Please provide all the facts what did you do to the website?
Please provide the link to your website?

Login

Who's Online

329 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 329


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