Module Install - Error Parsing XML File
Module Install - Error Parsing XML File
Pardon me if this has been answered somewhere else, but I can't find reference to it. I've just installed CMSMS beta 13, and when I try to install a couple of modules I get "Error Parsing XML File." Does this mean that these files (Calendar or Kalendar zip files) need to be just uploaded or installed in a different way, that there's something about my server that's not compatible (CMSMS install went fine), or that these modules aren't compatible with the beta? Any help is appreciated. Thanks.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Module Install - Error Parsing XML File
Not all of the XML files available in the forge are compatible with the latest version of CMS. The data type definition changed during the beta process.
You can still install via the .tar.gz or the .zip method
You can still install via the .tar.gz or the .zip method
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Module Install - Error Parsing XML File
I wish I knew what you meant by the "tar.gz" or ".zip" method. If you mean unzipping and uploading to the modules directory, I just did that successfully. Now I just have to figure out how to display the module on pages. I'm coming at this from minor experience with Joomla, so I thought CMSMS would be intuitive, but I clearly don't get it yet, and the documentation is THIN (worst thing about it, so far).
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Module Install - Error Parsing XML File
Yep, unter or unzip the module files into the modules directory, that's exactly what I meant.
Then go to Extensions --> Modules in the admin section and make sure that those modules are installed. On each module
rrow is a help link that should display information on how to use the module. It'll be something like this (here's a news example):
{cms_module module=News}
Then go to Extensions --> Modules in the admin section and make sure that those modules are installed. On each module
rrow is a help link that should display information on how to use the module. It'll be something like this (here's a news example):
{cms_module module=News}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Module Install - Error Parsing XML File
No help is available for Calendar, nor can I figure out how to display the module. I'm trying to just do a quick and dirty test of CMSMS possibilities, but I got farther with Joomla more quickly because it has complete documentation. If there actually is some good, full documentation floating around somewhere, please let me know. When I use the Documentation link on the CMSMS home page, I get about as far as installation before I start hitting all blank pages. How long has this system been available? Seems decent documentation ought to be a priority. Then I wouldn't have to ask dumb questions in forums!
Re: Module Install - Error Parsing XML File
upload Calendar to Module folder,
login to site, goto "Extensions » Modules"
you should see a column of Modules, starting from left top dark row should say,,
Name Version Status Active Action Help About XML
Calendar 0.7 stable Installed if installed check mark uninstall or install Help About XML
if you clik the 'Help' you will see,, "pasted from page",,
Help for the Calendar module
What does this do?
Calendar is a module for displaying events on your page. When the module is installed, a Calendar admin page is added to the plugins menu that will allow you to manage your events.
Security
The user must belong to a group with the 'Modify Calendar' permission in order to add, edit, or delete calendar event entries.
How do I use it?
1. Put the cms_module tag in the page content. Make sure it is not enclosed in ... tags. You will need to view source code for this. The code would look something like:
{cms_module module="Calendar" table_id="big"}
The table_id parameter is required for the CSS (see below for details).
2. Create a new stylesheet called Calendar, and fill it with the contents of the calendar_example.css file in the module directory.
3. Associate this stylesheet with the template you are using for the calendar page.
Locale
Calendar also supports translation of all text strings to another language. To support your language, add a file named .php to the modules/Calendar/lang directory. I would suggest copying en_US.inc.php as a starting point. You can then select your language from the Settings tab in the Calendar admin.
Note you can override the language used for a particular calendar displayed on the front end site by adding lang="xx_XX" to the {cms_module module="Calendar"} call. For instance: {cms_module module="Caldendar" lang="de_DE"}
What Parameters Exist?
display Acceptable values:
"calendar" - displays events for the current month in a traditional grid. Inclues links to prev. and next months.
"list" - displays events for the current month as a list. Includes links to prev. and next months.
"yearlist" - displays events for the current year in a list. Includes links to prev. and next years.
"upcominglist" - displays all upcoming events. No prev/next links.
Defaults to "calendar" (optional)
category Only display items for that category. Leaving unset, will show all categories. Note that you can limit to muliple categories by separating each one with a comma.(optional)
month Display entries for a particular month. If year is not set, then the current year is assumed. This option only works if display is set to "list" or "calendar". (optional)
year Display entries for a particular year. This option only works if display is set to "list" or "calendar". (optional)
limit Set to the maximum number of events to display. This option only works if display is set to "list" or "upcominglist". (optional)
first_day_of_week Set to the first day of the week as a number between 0 and 6 (0 = Sunday). Default is 1 (Monday). This option only works if display is set to "calendar". (optional)
summaries Set to 1 to display the summary information or 0 to not display it in calendar mode. Default is 1. (optional)
detail Set to 1 to display the detail information or 0 to not display it in list mode. Default is 0. (optional)
table_id Id to set for this calendar or list. This is useful for applying CSS styling. Default is "calendar-". (optional)
date_format Format to display the event's date (as used in strftime()). Default is "%d/%b/%Y". (optional)
use_session Use a session variable to store the current month of the calendar. Default is ture. (optional)
compact_view Set to 1 to hide the navigation links. Helpful to show current month's events on the home page. Default is 0. (optional)
reverse Set to true to display events in reverse chronological order. Applicable to list and upcominglist displays. Default is false. (optional)
Templates
All four types of display used on the front end are controlled from templates that can be changed in the admin. If you want to reset a template back to the default, then delete the entire template content in the admin and it will be reset on the next display of that calendar view on the front end site.
Sample CSS Styles
This is a set of example CSS rules to make the calendar view look good. To see in action use:
{cms_module module='Calendar' table_id='big'}
Rules: ,,, more after this, don't want to paste whole thing but you should get the idea.
HTH
mark
login to site, goto "Extensions » Modules"
you should see a column of Modules, starting from left top dark row should say,,
Name Version Status Active Action Help About XML
Calendar 0.7 stable Installed if installed check mark uninstall or install Help About XML
if you clik the 'Help' you will see,, "pasted from page",,
Help for the Calendar module
What does this do?
Calendar is a module for displaying events on your page. When the module is installed, a Calendar admin page is added to the plugins menu that will allow you to manage your events.
Security
The user must belong to a group with the 'Modify Calendar' permission in order to add, edit, or delete calendar event entries.
How do I use it?
1. Put the cms_module tag in the page content. Make sure it is not enclosed in ... tags. You will need to view source code for this. The code would look something like:
{cms_module module="Calendar" table_id="big"}
The table_id parameter is required for the CSS (see below for details).
2. Create a new stylesheet called Calendar, and fill it with the contents of the calendar_example.css file in the module directory.
3. Associate this stylesheet with the template you are using for the calendar page.
Locale
Calendar also supports translation of all text strings to another language. To support your language, add a file named .php to the modules/Calendar/lang directory. I would suggest copying en_US.inc.php as a starting point. You can then select your language from the Settings tab in the Calendar admin.
Note you can override the language used for a particular calendar displayed on the front end site by adding lang="xx_XX" to the {cms_module module="Calendar"} call. For instance: {cms_module module="Caldendar" lang="de_DE"}
What Parameters Exist?
display Acceptable values:
"calendar" - displays events for the current month in a traditional grid. Inclues links to prev. and next months.
"list" - displays events for the current month as a list. Includes links to prev. and next months.
"yearlist" - displays events for the current year in a list. Includes links to prev. and next years.
"upcominglist" - displays all upcoming events. No prev/next links.
Defaults to "calendar" (optional)
category Only display items for that category. Leaving unset, will show all categories. Note that you can limit to muliple categories by separating each one with a comma.(optional)
month Display entries for a particular month. If year is not set, then the current year is assumed. This option only works if display is set to "list" or "calendar". (optional)
year Display entries for a particular year. This option only works if display is set to "list" or "calendar". (optional)
limit Set to the maximum number of events to display. This option only works if display is set to "list" or "upcominglist". (optional)
first_day_of_week Set to the first day of the week as a number between 0 and 6 (0 = Sunday). Default is 1 (Monday). This option only works if display is set to "calendar". (optional)
summaries Set to 1 to display the summary information or 0 to not display it in calendar mode. Default is 1. (optional)
detail Set to 1 to display the detail information or 0 to not display it in list mode. Default is 0. (optional)
table_id Id to set for this calendar or list. This is useful for applying CSS styling. Default is "calendar-". (optional)
date_format Format to display the event's date (as used in strftime()). Default is "%d/%b/%Y". (optional)
use_session Use a session variable to store the current month of the calendar. Default is ture. (optional)
compact_view Set to 1 to hide the navigation links. Helpful to show current month's events on the home page. Default is 0. (optional)
reverse Set to true to display events in reverse chronological order. Applicable to list and upcominglist displays. Default is false. (optional)
Templates
All four types of display used on the front end are controlled from templates that can be changed in the admin. If you want to reset a template back to the default, then delete the entire template content in the admin and it will be reset on the next display of that calendar view on the front end site.
Sample CSS Styles
This is a set of example CSS rules to make the calendar view look good. To see in action use:
{cms_module module='Calendar' table_id='big'}
Rules: ,,, more after this, don't want to paste whole thing but you should get the idea.
HTH
mark
Re: Module Install - Error Parsing XML File
Thanks, Mark.
Thing is, I just don't get that help file in my modules list. Any other module I install has a help file.
I'll have to read this very carefully to see if I can get some functionality out of the calendar. Right now it looks horrible and has no functionality (it's just a static bunch of dates).
My only comment now is that while this CMS looks nice and simple, having all this code-based management is far from simple for a code idiot like me. I've gotten fully functional calendars up on other CMSes in minutes without touching any code. I'm not sure CMS Made Simple is that simple.
Thing is, I just don't get that help file in my modules list. Any other module I install has a help file.
I'll have to read this very carefully to see if I can get some functionality out of the calendar. Right now it looks horrible and has no functionality (it's just a static bunch of dates).
My only comment now is that while this CMS looks nice and simple, having all this code-based management is far from simple for a code idiot like me. I've gotten fully functional calendars up on other CMSes in minutes without touching any code. I'm not sure CMS Made Simple is that simple.
Re: Module Install - Error Parsing XML File
Got Link
how did you put the calendar in? page or template? did you give permission to the admin or any other users?
how did you install it?
and any other ??'s i might not have asked
i've used other things to manage web sites, not cms's, this is the easiest thing yet for me, mostly for how it handles menus, no hard coding each page.
in the admin view under 'Content' you should also see 'Calendar' this is where you add events to the calendar to be displayed.
i can write HTML, CSS all day, cut/paste JS, even make some changes to the menu handlers in CMSMS but probably couldn't code my way out of a paper bag.
mark
how did you put the calendar in? page or template? did you give permission to the admin or any other users?
how did you install it?
and any other ??'s i might not have asked

i've used other things to manage web sites, not cms's, this is the easiest thing yet for me, mostly for how it handles menus, no hard coding each page.
in the admin view under 'Content' you should also see 'Calendar' this is where you add events to the calendar to be displayed.
i can write HTML, CSS all day, cut/paste JS, even make some changes to the menu handlers in CMSMS but probably couldn't code my way out of a paper bag.
mark
Re: Module Install - Error Parsing XML File
Put the calendar in the template, but don't even know if I did that right. Didn't mess with any permissions. Installed it by clicking the "install" option under modules.
I have literally not found one document explaining how to do any of this, so that's my problem.
HTML, CSS, and JS, BTW, are types of code. I can just manage with HTML and have messed very little with CSS and JS - basically know nothing. "Simple," to me, means I don't need to know anything. It'd be easier if the GUI handled these installations and tweaking. That's what I've seen in other CMSes. I know messing with code is sometimes necessary, but it seems to be the basic way of doing anything beyond the basics with this CMS.
I have literally not found one document explaining how to do any of this, so that's my problem.
HTML, CSS, and JS, BTW, are types of code. I can just manage with HTML and have messed very little with CSS and JS - basically know nothing. "Simple," to me, means I don't need to know anything. It'd be easier if the GUI handled these installations and tweaking. That's what I've seen in other CMSes. I know messing with code is sometimes necessary, but it seems to be the basic way of doing anything beyond the basics with this CMS.
Re: Module Install - Error Parsing XML File
try putting it in a page,,
if you go to the Add New Content, make page, top left corner is 'View Source' button clik it, paste this,,
{cms_module module='Calendar' table_id='big'}
big can be any of the options shown in the Help i posted but try big just to see what you get,
mark
if you go to the Add New Content, make page, top left corner is 'View Source' button clik it, paste this,,
{cms_module module='Calendar' table_id='big'}
big can be any of the options shown in the Help i posted but try big just to see what you get,
mark
Re: Module Install - Error Parsing XML File
I just went through the same debug cycle with "Bookmarks2.0", so maybe what I did will help you ...
I got the same "Error Parsing XML File" message, and so unzipped the module by hand (cygwin "unzip").
My first problem was pilot error - I put Bookmarks2.0 at the "top" (.../cms/Bookmarks2.0). It should be in "modules" (.../cms/modules/Bookmarks2.0)
Second problem, I just guessed at. I renamed "Bookmarks2.0" to "Bookmarks", and then it magically showed up in the list of modules on my "Modules" page.
HTH - good luck.
Michael
I got the same "Error Parsing XML File" message, and so unzipped the module by hand (cygwin "unzip").
My first problem was pilot error - I put Bookmarks2.0 at the "top" (.../cms/Bookmarks2.0). It should be in "modules" (.../cms/modules/Bookmarks2.0)
Second problem, I just guessed at. I renamed "Bookmarks2.0" to "Bookmarks", and then it magically showed up in the list of modules on my "Modules" page.
HTH - good luck.
Michael
Re: Module Install - Error Parsing XML File
I got around the install error the day I posted this, thanks. But the configuration of modules in CMSMS is anything but simple, so I'm abandoning it.