Page 2 of 3
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 1:33 pm
by MichaelK
Question:
How can I call the extra field in the News Module?

There's nothing in the summery and detail template.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 2:20 pm
by GDS
... and we want it to be the last beta before full release.
Please don't pop out another release that isn't ready!
If this release is the last one until 2.0 appears,
it should work well, including basic modules.
GDS
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 2:25 pm
by calguy1000
We support php 4.3, but most of our development hosts are newer than that. It's easy to slip a piece of code that is php5 dependant in by accident, and not notice it.
That's one of the reasons why we have beta cycles.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 2:45 pm
by Pierre M.
Cool that the strthing has been noticed, diagnosed and fixed. I have now something else much less serious because
I don't think it is 1.2b1 related but I'm not sure. It is about pretty URLs.
Warning : who is trying to set up pretty URLs shouldn't read/complain in this thread. See
elsewhere and search the forum.
standard (no fun) rewriting config.php :
$config['assume_mod_rewrite'] = true;
$config['page_extension'] = '.html';
$config['internal_pretty_urls'] = false;
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
unusual (funky) .htaccess,
trying to show a /prefix and to hide the installation directory :
RewriteBase /some_folder_in_w3root
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ 1.2b1-install_folder/index.php?page=$1 [QSA]
First, nice result :
http://the.host.com/some_folder_in_w3ro ... alias.html works (prefix+relative link), hiding the installation directory.
But
CMSms generated links (seen in the menus) look like :
http://the.host.com/some_folder_in_w3ro ... ll_folder/[/b]hierarchy/otheralias.html
instead of
http://the.host.com/some_folder_in_w3ro ... alias.html
I have set up a little custom tag to output the following :
QUERY_STRING : page=hierarchy/alias.html (hierarchy+alias, let's call this relative link halias)
REQUEST_URI : /some_folder_in_w3root/hierarchy/alias.html (prefix+halias)
The computed links are built relative to the install directory (internal trickery) and not the request (the public view of the site).
As the prefix can be computed as "URI - halias", shouldn't all links be "prefix+halias" ? This would remove the need of a parsing reverse proxy to hide a path or modify a prefix.
Thanks for your attention, sorry if this is not a bug in 1.2 beta1.
Pierre M.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 2:50 pm
by calguy1000
if you did an upgrade then the extra stuff won't be in the default templates. You can use {$entry|print_r} to see what's available.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 2:51 pm
by calguy1000
GDS wrote:
Please don't pop out another release that isn't ready!
If this release is the last one until 2.0 appears,
it should work well, including basic modules.
GDS
Then how is your testing going? found any bugs yet? if you haven't, aside from what others have already found, then I assume all is okay.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 3:26 pm
by calguy1000
moorezilla wrote:
woot! so far so good!
any particular add-on modules or tags that need to be tested with this version, or are modules and tags beyond the scope of the beta?
Things to test in particular:
- The new file manager module
- The page defaults stuff
- Adding/Editing content with additional editor groups, and with users with restricted permissions.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 3:31 pm
by moorezilla
Ok... I tried installing the new beta with an existing database, to see what would happen.
The new printing module fires a smarty error, which can be fixed by uninstalling and then reinstalling the printing module. This is probably due to the system not having the opportunity to add default information to the database? Just a guess. Any way, when I try to make a pdf of a page, I get this error:
FPDF error: GIF parser: unable to open file /home/web/chelseahigh/chsnew/modules/Printing/html2fpdf/no_img.gif
I looked at no_img.gif and it's there and the permissions on it are fine, so I tried to just load the no_img.gif directly into the browser and it showed up as a broken image, which I imagine it's supposed to be considering its name, so I'm not sure why the gif parser is firing the error.
Another thing not necessarily related to this particular version of cmsmadesimple but which may be of note moving forward, is that it currently seems impossible to convert existing cmsms databases to utf8 as the keys are too long. If you keep everything latin1, it works fine, but if you try to go utf8 mysql 5 chokes on it. If multilingual is coming up, I don't think latin1 will be an option for some people.
More as I run into it, but right now it's looking pretty stable.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 4:24 pm
by GDS
Referring to bug in News module
http://forum.cmsmadesimple.org/index.ph ... l#msg73856
News is still not showing up in Admin, in News 2.5.1:
modules/News/function.admin_articlestab.php, Line 96:
$query1 .= " LIMIT $pagelimit OFFSET $startelement";
GDS
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 4:34 pm
by calguy1000
okay.... I got the one on the front end, just not the one in the admin section.... gach.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 4:48 pm
by GDS
I have thiss message on top of every frontend page:
Notice: Undefined index: printhtml in c:\phpdev\www\sff\modules\Printing\Printing.module.php on line 107
GDS
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 5:00 pm
by calguy1000
News 'OFFSET' issue, and printing undefined index has been fixed in svn
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 5:51 pm
by calguy1000
We've managed to keep up on all of these bugs, and will be issuing a Beta2 tonite (hopefully). Keep up the good work people.
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 7:09 pm
by Pierre M.
Hello again,
calguy1000 wrote:
if you did an upgrade then the extra stuff won't be in the default templates. You can use {$entry|print_r} to see what's available.
I'm not sure if this is your answer to my URL-may-be-disturbing topic. But :
-I have made a fresh SSH install from scratch (not an upgrade).
-I have put {$entry|print_r} in the same template and it outputs the character '1' only.
My little custom tag contains :
echo "QUERY_STRING : ".$_SERVER["QUERY_STRING"]."";
echo "REQUEST_URI : ".$_SERVER["REQUEST_URI"]."";
Pierre (is going to test other features like filemanager and defaults for new pages)
Re: Announcing CMS Made Simple 1.2 Beta 1
Posted: Sat Sep 29, 2007 10:08 pm
by GDS
Admin -Edit content - Options:
Notice: Only variables should be assigned by reference in c:\phpdev\www\sff\lib\classes\class.content.inc.php on line 1481
FileManager:
Notice: Undefined variable: entries in c:\phpdev\www\sff\modules\FileManager\fileview.php on line 157
GDS