| Mambo/Joomla Integration Information about integrating the calendar with the Mambo Content Management System. |
 |
version 6 error in mambo |
 |
03-23-2005, 10:35 AM
|
#1
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
version 6 error in mambo
hi there I ahve download your zip and uploaded the zip into mambo which was fine and follwed all instructions etc...
Created a folder called escal within the modules folder e.g. modules\escal\
published escalendar in modules admin and am now getting: -
Warning: main(): Unable to access /usr/local/psa/home/vhosts/netcore-design.com/httpdocs/escal//escal/functions/functions.inc.php in /usr/local/psa/home/vhosts/netcore-design.com/httpdocs/mambo/modules/escal/showCalendar.php on line 31
Any ideas to what I ahve done? many thanks.
|
|
|
|
 |
You need to read the Easy PHP Cal "Instructions.html" |
 |
03-23-2005, 11:18 AM
|
#2
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
You need to read the Easy PHP Cal "Instructions.html"
Yes you didnt follow the instructions.html that came with the
Easily Simple Calendar 5.7 download.
It says in there you have to chmod your showCalendar.php , functions, and one other file to 777? or 755? Look at the instructions.html, you will be done momentarily I bet.
|
|
|
|
03-23-2005, 11:32 AM
|
#3
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
thanks but I ahve tried that anything else would be helpful?
|
|
|
|
03-23-2005, 11:41 AM
|
#4
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
|
I don't know much about Mambo, but I see this in your path:
/escal//escal/
Can that be correct?
|
|
|
|
03-23-2005, 12:02 PM
|
#5
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
Spot on Brian, I have just come across it and rectified it thansk also for reviewing; great script once again!!
|
|
|
|
03-23-2005, 12:09 PM
|
#6
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
OK - another querey that I'm a bit unsure about is how do I restore the default cal styling? do I replace the supplied css code with the current css code or change the mambo css code?
Thanks all for your response!
Stridey
|
|
|
|
 |
Not sure What Your Asking |
 |
03-23-2005, 01:17 PM
|
#7
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
Not sure What Your Asking
Alright, please note that templates created for mambo have different ways of styling, and that if your downloading them from around the web some will not display correctly if not modified. Also, as I said before, mambo over-rides the css style for your cal theme, so you would have to modify your "default" theme for cal and add the color commands.
Below is the section that relates to the styles
"""
Alrighty Then. If you want to use the default skin for the Calendar, http://www.yourdomain.com/modules/e...ult/esstyle.css is the file your going to edit. I have a black background, so I wanted my Dates to display White of course. At the Very bottom of the esstyle.css file, you will see
.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
}
Add the line color: #000000; (#000000 being black, #FFFFFF being white)
So mine, being black shows
.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
color: #000000;
}
Now go and add color: #000000; to .s20, .s21, .s22, .s23, .s24, .s2etc.
""" this was from post http://www.easyphpcalendar.com/forum...ead.php?t=2979
If the section above doesnt help, please answer these questions so I can help you better.
1. what do you mean by restore the default cal style?
2. What is the address of your calendar so I can look
3. Are you asking a question that was talked about in the tutorial at?
Diske52
|
|
|
|
 |
 |
|
 |
03-23-2005, 03:11 PM
|
#8
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
hi I added the css styles from your earlier advice and nothing happend; should I be adding both styles in the esstyles.css and then amend Now go and add color: #000000; to .s20, .s21, .s22, .s23, .s24, .s2etc. respectively?: -
.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
}
Add the line color: #000000; (#000000 being black, #FFFFFF being white)
So mine, being black shows
.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
color: #000000;
}
as it stands the current style is very basic rememberig I am using version 6 of ESCAL
You can find the development here: - http://www.netcore-design.com/mambo/
what I mean in default style of the cal is that of the package on Brian sells us.
I am askign that same question specified by you ealier; you guys have done a great job and am really pleased with the support you have both offered; I give you my thanks!!
Look forward to your reply, kind regards
Stridey
|
|
|
|
 |
 |
|
 |
03-23-2005, 06:02 PM
|
#9
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
Stridey,
Anyhow, if your reading this, add the module template_chooser to your mambo site. I'll check back shortly.
It looks as though you stripped the theme, in escal setup have you verified its set to the "default" theme, and while editing the css file you didnt accidentally delete any lines while cut pasting?
I've tested version 6 with mambo 4.5.2 and 4.5.1x, and never lost all the formatting, as you have. Let me reload 6 on a test site, and check it out with the template that you use, which is that? solar flare 1 or 2 template?
While your waiting for me to get back to you, i advise you test out a different template for mambo, and a different theme for escal, or make sure its default, to make sure we dont have any more variables than we need. http://www.mambohut.com has the most free templates.
Also it looks your new to mambo, so here's a link that discuss's what it took to create e78.org, which uses mambo, flash, easy cal, among other things.
http://www.mambers.com/showthread.php?t=27363
Anyhow, if your reading this, add the module template_chooser to your mambo site. I'll check back shortly.
|
|
|
|
 |
03-24-2005, 05:21 AM
|
#10
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
Hey there Diske52 thanks very much for your advice you have been a great help and a value to the www community. I re-installed the calendar and it seems now to work however has pushed the alignment out somewhat do you know how to amend that?
I ahd a look at the other forum you menttioned and will be visiting it for further details as soon as I get over this learnign curve, as you had guessed right I am relatively new to this enviroment.
Thanks again, look forward to your reply.
Stridey
|
|
|
|
 |
Calendar is looking Good! |
 |
03-24-2005, 10:20 AM
|
#11
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
Calendar is looking Good!
Just checked your website, the calendar is looking good
As for the alignment, im guessing you've fixed the issue because it displays properly on my browser (ie 6+).
I see you installed the sample data, And, it says mambo 4.5.... uh oh, did you use fantastico or an old install or mambo? Your mambo installation should be 4.5.2.
Besides a few bugs, the layout and changes of the back admin has changed quite a bit. Support for this version is almost complete with the major modules and components. Please make sure you've installed the latest version from http://www.mamboforge.net
** Oh before I forget, if you want the Calendar to be smaller and fit in a little better, you can go into Cal Setup, and remove cell spacing, borders, etc. it will make it slightly smaller. Fits better that way into most user bars.
-Cheers
|
|
|
|
03-24-2005, 10:46 AM
|
#12
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
HI
I thought I ahd downloaded the latest version MamboV4[1].5.1b-Stable.tar.gz????
If you change back to the solar falre layout you can see how the cal has moved over left and skwed up the template which I like best know of any solutions to that I ahd earlier played with the cal css and shrunk the cal but didn't change the template arghhh
again you advice is much appreciated
Cheers Stridey
|
|
|
|
03-24-2005, 10:50 AM
|
#13
|
|
Calendar User
Stridey is offline
Join Date: Mar 2005
Posts: 12
|
when installing the next version of mambo do I over wriite all the files or is it best to do a fresh install?
Thanks yest again
|
|
|
|
 |
best to do is |
 |
03-24-2005, 11:03 AM
|
#14
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
best to do is
Here is the page http://mamboforge.net/frs/?group_id=5
Which still has 4.5.1b, which is most popular, but below it is the release everyone is upgrading to, 4.5.2
http://mamboforge.net/frs/download.p...-Stable.tar.gz
Since your new, just delete everything and reinstall. Refer to my other posts with links and tips for starting off with mambo. Any questions you have regarding mambo should be posted via those links. Lets support the calendar here, not the portal system
diske52 at yahoo.com if you want to directly email me.
Below is what I typed earlier
--------------
Normally for an version upgrade you would just backup sql tables, move some files over, but thats not needed, because you dont have alot on your test site. And having a clean install is always good to know.
I would rename your mambo folder to mambo2, and copy 4.5.2 files to mambo. Start the installation by accessing your /mambo folder after all files are copied via ftp, use new sql information to be clean without sample data, etc. Once again, refer to my other post which contains links that will assist you.
Diske
Last edited by diske52; 03-24-2005 at 12:47 PM.
|
|
|
|
 |
 |
Error after install |
 |
05-04-2005, 03:23 AM
|
#15
|
|
Calendar User
dave_gordon is offline
Join Date: May 2005
Posts: 33
|
Error after install
I've used the Zend Autoinstaller to upload to my remote server. This went ok but when I installed the Mambo Module I get the following errror message dusplayed;
EasyPHPCalendar
There have been some changes affecting how the calendar code is included onto web pages.
Please update your pages to require calendar.php.
In previous versions, this was showCalendar.php.
Example:
Instead of:
require("calendar/showCalendar.php");
Change this to:
require("calendar/calendar.php");
Changing the name of the file in the mod_escal.php file seems to make no difference.
Can you help?
Many thanks in advance
Dave
|
|
|
|
 |
Hey Dave |
 |
05-04-2005, 09:40 AM
|
#16
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
Hey Dave
Dave,
1. Unzip the mod_escal_mambo452_with_print.zip
open mod_escal.php and change all "3" instances of ShowCalendar to your calendar.php.
Double check it will look like this
Code:
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<A href="http://www.w3.org/TR/html4/loose.dtd"><?php">http://www.w3.org/TR/html4/loose.dtd"><?php $CSS=1; require ("modules/escal/calendar.php"); ?>
<?php $OL=1; require ("modules/escal/calendar.php"); ?>
<table align="center">
<tr><td>
<?php require ("modules/escal/calendar.php"); ?>
<br>
<div style="text-align: center;">[<a href="<?php echo $mosConfig_live_site;?>/modules/escal/printable.php" target="_blank">printable calendar</a>]
</div>
</td>
</tr></table>
2. Re-Zip up file along with the .xml File. Un-install it from mambo, re-install this file.
3. Double check you can view the calendar as a stand alone unit.
Gotta run,
Chuck
|
|
|
|
 |
05-04-2005, 01:24 PM
|
#17
|
|
Calendar User
dave_gordon is offline
Join Date: May 2005
Posts: 33
|
Hi Chuck,
Thanks for the prompt response.
This fault has now been corrected but introduced another. I'm now getting the error saying that it can't find the calendar.php in the module/escal directory. When I done the automatic install it actually installed into the subdirectory modules/escal/calendar/. I think if I move everything back to the modules/escal directory the ES Calendar then fails on something else where its looking in the originally installed directory.
Many thanks in advance
Dave
|
|
|
|
05-04-2005, 06:31 PM
|
#18
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
remember that everything is case sensitive
calendar.php is good
Calendar.bad is bad
Anyhow, I would recommend uninstalling the module, login through FTP and verify the mod_escal files are deleted.
Uninstall the calendar, verify the files are deleted.
Re-install both, should only take a few moments, using the modified file you worked on earlier.
And if you still have issues, please state exactly what it says.
Also, besides viewing the calender Within mambo, can you still view it Without mambo?
for example. www.yourdomain.com/module/escal/printable.php
or use another page that comes with your installation
|
|
|
|
 |
|
 |
05-05-2005, 01:40 AM
|
#19
|
|
Calendar User
dave_gordon is offline
Join Date: May 2005
Posts: 33
|
I had already taken into consideration the case-sensitive issues, and if I go directly to the modules/escal/calendar/index.php everything works ok.
The mambo fronted error messages are;
Warning: main(): Unable to access modules/escal/calendar.php in /web/guide/mydomain/public_html/modules/mod_escal.php on line 3
Warning: main(modules/escal/calendar.php): failed to open stream: No such file or directory in /web/guide/mydomain/public_html/modules/mod_escal.php on line 3
Warning: main(): Unable to access modules/escal/calendar.php in /web/guide/mydomain/public_html/modules/mod_escal.php on line 3
Warning: main(modules/escal/calendar.php): failed to open stream: No such file or directory in /web/guide/mydomain/public_html/modules/mod_escal.php on line 3
Fatal error: main(): Failed opening required 'modules/escal/calendar.php' (include_path='') in /web/guide/mydomain/public_html/modules/mod_escal.php on line 3
The 'mydomain' above is only the main domain name without the 'www.' or the extension of '.co.uk', could this be the cause.
Alternatively, as I previously mentioned I think this is because this is looking for the utility in the 'modules/escal' directory as opposed to the install directory of 'modules/escal/calendar'
Hope this helps.
Kind Regards
Dave
|
|
|
|
 |
 |
<yawn> Morning Dave ;) |
 |
05-05-2005, 07:36 AM
|
#20
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
<yawn> Morning Dave ;)
<yawn> Morning Dave
Well, im still drinking coffee but those lines appear odd to me. You dont see it? Lets look at the first one again
Quote:
The mambo fronted error messages are;
Warning: main(): Unable to access modules/escal/calendar.php in /web/guide/mydomain/public_html/modules/mod_escal.php on line 3
|
the first path, says
"Unable to access modules/ escal/calendar.php" this is normal.
----------------------------
the second path says
" in /web/guide/mydomain/public_html/modules/mod_escal.php"
but shouldnt it say the relative path , including the directory?
"in /web/guide/mydomain/public_html/modules/ escal/mod_escal.php
Such as that.
I'll Ponder that while I drink my coffee. If I can realize why your path would be incorrect, I shall reply before I take off to work.
|
|
|
|
05-05-2005, 11:02 AM
|
#21
|
|
Calendar User
dave_gordon is offline
Join Date: May 2005
Posts: 33
|
That was the clue. Somehow I managed to have a version of mod_escal.php and mod_escal.xml in the modules/escal directory.
These were the steps I took to get it working
1) I deleted the above files in the modules/escal directory
2) I removed the module altogether
3) I changed the mod_escal.php to reference modules/escal/calendar/calendar.php
4) I re-zip the module install
5) I reinstalled and published the module, and VOILA
Maybe I need to start drinking coffee instead of tea to get my brain working.
Thanks for all your efforts, now comes the hard task of making it do what I want it too!!!
Regards
Dave
|
|
|
|
 |
Eve'n Dave |
 |
05-06-2005, 01:00 AM
|
#22
|
|
Calendar User
diske52 is offline
Join Date: Feb 2005
Posts: 57
|
Eve'n Dave
Eve'n Dave,
Well I'm drinking beer now and about to sleep, I suppose if you have any other issues I shall be drinking coffee once again and reading your message
Glad I could help out, hope your site can do what you want, I made a small tutorial to help out ppl with mambo sites, with what I recommend from personal testing. http://www.mambers.com/showthread.php?t=27363
Some of this stuff I've done for one site, others have been a totally different direction, but none the less I recommend you take a gander. Have a good one,
Chuck
|
|
|
|
 |
I get in error in mambo with module |
 |
08-18-2005, 12:56 AM
|
#23
|
|
Calendar User
chrisfireems is offline
Join Date: Aug 2005
Posts: 1
|
I get in error in mambo with module
When I Published the module I get the following error on my site.
Warning: main(modules/escal/showCalendar.php): failed to open stream: No such file or directory in /home/hsphere/local/home/chrisfir/58fire.com/modules/mod_escal.php on line 3
Warning: main(modules/escal/showCalendar.php): failed to open stream: No such file or directory in /home/hsphere/local/home/chrisfir/58fire.com/modules/mod_escal.php on line 3
Fatal error: main(): Failed opening required 'modules/escal/showCalendar.php' (include_path='.:/usr/local/lib/php') in /home/hsphere/local/home/chrisfir/58fire.com/modules/mod_escal.php on line 3
Can Somone please help me
|
|
|
|
08-18-2005, 09:34 AM
|
#24
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
|
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 09:24 PM.
|