PDA

View Full Version : fatal error showing where calendar should be


nichi
08-31-2006, 02:34 PM
Hi and excuse me if this is redundant, but support instructed me to start a new thread on this. I posted earlier, but I need more help. This is what I've posted:

I saw this in the forum, but my permissions are 644. This is what I get in the left corner where the calendar is supposed to be displayed. The install into joomla stated it was successful.

Fatal error: main() [function.require]: Failed opening required 'modules/calendar/calendar.php' (include_path='.:/usr/local/lib/php') in /homepages/22/d162348080/htdocs/life/Joomla/modules/mod_escal.php on line 3

ve9gra replied that it might be where the calendar is installed or corruption in upload.

I am able to get around in the manager, so wouldn't that suggest that the upload was successful? Where do you suggest that the calendar directory should be? I've got this:
joomla/calendar

I'd really like to buy this today if I can get it working. Please someone help. I already ****ed and moaned to support how exhausted I am with this CMS stuff, not just the calendar. I'm going to get everything working if it kills me.

thanks in advance

Brian
08-31-2006, 04:37 PM
What is on line 3 of your mod_escal.php file?

nichi
08-31-2006, 04:53 PM
Line 3:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><?php $CSS=1; require ("modules/calendar/calendar.php");

nichi
08-31-2006, 04:56 PM
Here's the whole file. I opened it in dreamweaver and afraid that it might format a little. Just in case, here it is.

Here's the whole file, sorry.


<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><?php $CSS=1; require ("modules/calendar/calendar.php"); ?>
<?php $OL=1; require ("modules/calendar/calendar.php"); ?>
<table align="center">
<tr><td>
<?php require ("modules/calendar/calendar.php"); ?>
<br>
<div style="text-align: center;">[<a href="<?php echo $mosConfig_live_site;?>/modules/calendar/printable.php" target="_blank">printable calendar</a>]
</div>
</td>
</tr></table>

Brian
08-31-2006, 05:22 PM
It would appear the the calendar directory is not in the modules directory. Can you confirm this?

nichi
08-31-2006, 05:31 PM
The calendar directory is under the joomla directory right now. I tried to just copy it to the modules dir like the path in the error seems to indicate, but it didn't work, so I left things alone.

Brian
08-31-2006, 06:49 PM
The calendar directory must be in the modules directory (that's why it is giving file not found errors).

nichi
08-31-2006, 07:01 PM
Can I just copy it to the new directory or do I need to start from the beginning and install the calendar under the modules? Thanks.

Brian
08-31-2006, 07:18 PM
You can try copying the files, but you can also do a fresh install there too.

nichi
08-31-2006, 07:29 PM
IT WORKS!!!! Bless you, my son. Thank so much.