Welcome, Guest
Username Password: Remember me

installation problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: installation problem

installation problem 3 years, 10 months ago #989

  • craig30
Please help. I don't know the code.



joomlacode.org/gf/project/prayercenter/frs/



Error:

/com_prayercenter/pc_config.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home/content/l/i/b/libby86/html/spartaumc/joomla/modules/mod_pc_submit_request/mod_pc_submit_request.php on line 28



Code:



<?php

//

// ****************************************************************************************

// Title Mod_pc_submit_request PrayerCenter prayer request submit module for Joomla

// Author Mike Leeper

// Version 1.5.5

// URL www.mlwebtechnologies.com

// Email This email address is being protected from spambots. You need JavaScript enabled to view it.

// License This is free software and you may redistribute it under the GPL.

// Mod_pc_submit_request comes with absolutely no warranty. For details,

// see the license at www.gnu.org/licenses/gpl.txt

// YOU ARE NOT REQUIRED TO KEEP COPYRIGHT NOTICES IN

// THE HTML OUTPUT OF THIS SCRIPT. YOU ARE NOT ALLOWED

// TO REMOVE COPYRIGHT NOTICES FROM THE SOURCE CODE.

//

// Requires the PrayerCenter component v1.5.5 or higher

// ****************************************************************************************

defined( '_JEXEC' ) or die( 'Restricted access' );// no direct access

global $db, $mainframe;

$errorlevel=error_reporting();

error_reporting($errorlevel & ~E_NOTICE);

$db =& JFactory::getDBO();

$user = &JFactory::getUser();

$access_gid =$user->get('gid');

$lang =& Jfactory::getLanguage();

$lang->load( 'com_prayercenter', JPATH_SITE);

$file = JPATH_ROOT.DS."administrator".DS."components".DS."com_prayercenter".DS."pc_config.php";

Line 28: $configstr = file_get_contents($file);





pc_config.php file does not exist.





Thanks to all who help.
  • Page:
  • 1
Time to create page: 5.02 seconds