Page 1 of 1

Can NOT install CGExtension on 1.6.6

Posted: Wed Jan 27, 2010 2:07 pm
by eurocms
Trying to install CGExtensions for a new website running CMS 1.6.6. (CMS is running smooth)

These are the errors I get...

Error parsing XML file. Please make sure you are uploading a .xml file and not a .tar.gz or zip file

and Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /home5/xxx/admin/listmodules.php on line 116

Any ideas?
Thanks...

Re: Can NOT install CGExtension on 1.6.6

Posted: Wed Jan 27, 2010 7:20 pm
by Warlock
if you go to extensions > modules.  (not the module manager, just modules)
at the bottom there is an option to install via XML file

download at: http://dev.cmsmadesimple.org/project/files/291
get the xml
upload and then when it is added to the list of modules, be sure to click install

job done.

Re: Can NOT install CGExtension on 1.6.6

Posted: Thu Jan 28, 2010 11:28 pm
by Dr.CSS
Make sure you are running PHP5 but not PHP5.3...

Re: Can NOT install CGExtension on 1.6.6

Posted: Fri Jan 29, 2010 5:29 am
by inyerface
What?  This will only work with PHP5?  I am runnign PHP 5.2.6

Re: Can NOT install CGExtension on 1.6.6

Posted: Fri Jan 29, 2010 4:37 pm
by Dr.CSS
EDIT: PHP 5 +  up to but not including 5.3

Re: Can NOT install CGExtension on 1.6.6

Posted: Sat Jan 30, 2010 10:49 pm
by Dr.CSS
Then you may have a different problem with your install...

You did use extensions > module to install it, right?...

You may have to get the folder from the forge to install it, unpack folder on your computer and FTP it to the modules folder then run install for it in extensions > modules...

Re: Can NOT install CGExtension on 1.6.6

Posted: Wed Mar 17, 2010 5:07 pm
by MarkFresh
I was having the same issue so I checked my system information page (under Site Admin) and saw:

Maximum Post Size (post_max_size): 8M
Maximum Upload Size (upload_max_filesize): 2M

I changed them both to 32M, by creating a file called php5.ini (or it can be php.ini) and adding this to it:

upload_max_filesize = 32M
post_max_size = 32M
memory_limit = 32M

then I uploaded it to the website root folder, usually public_html

I also saw an error with my previews_path, basically there wasn't a cache folder (I had recently moved the site to a new server)

I then upgraded cge extensions without a problem

Hope that helps