Notice: CMSB v2.04 Beta!

22 posts by 9 authors in: Forums > CMS Builder
Last Post: April 25, 2010   (RSS)

Re: [chris] Notice: CMSB v2.04 Beta!

By InHouse - April 13, 2010

Excellent! Thanks Chris. This would have saved me oodles of time on just one project from last fall. Glad to have these features on board.

Keep up the great work.

J.

Re: [chris] Notice: CMSB v2.04 Beta!

By rconring - April 13, 2010

Wow, Chris ...

I backed up, unzipped the beta and uploaded to my site as usual.
Got "undefined variable in viewer_functions.php on line 396 which is:

foreach ($records as &$record) {

I assumed the ampersand was a typo, so removed and re uploaded viewer_functions.php.

Then got about a half page of errors, but page loaded anyway. I had to restore the code right away to keep the site up and did not copy the errors.

Have you had similar reports yet?
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Re: [rconring] Notice: CMSB v2.04 Beta!

By Donna - April 13, 2010

Hey Ron -- did you try clearing your cache after you upgraded? See this post for details about how to do that for your specific browser:

http://www.interactivetools.com/forum/gforum.cgi?post=79143#79143
Donna

--
support@interactivetools.com

Re: [Donna] Notice: CMSB v2.04 Beta!

By rconring - April 13, 2010

Yes Donna, I'm sorry, I forgot to mention that I did clear the cache. I had that problem before, so always clear on update.

I did exactly what I always do to update.

I was concerned about the code error on line 396 of viewer_functions.php. Maybe my 2.04 beta1 download is corrupt or is there a typo?
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Re: [rconring] Notice: CMSB v2.04 Beta!

By Dave - April 13, 2010

Hi Ron,

Thanks for the report! Here's the fix:

Replace:
foreach ($records as &$record) {

With:
foreach (array_keys($records) as $index) {
$record = &$records[$index];


The top code only works in PHP5, but the fix below it works in PHP4 and PHP5.

Hope that helps! Let me know if that fixes it for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [chris] Notice: CMSB v2.04 Beta!

By Djulia - April 14, 2010 - edited: April 14, 2010

Hi,

I have a Javascript error message with the editor of page:

Firefox :

Erreur: f[j] is undefined
File Source: /3rdParty/tiny_mce/tiny_mce_gzip.js[/url]
Line: 179

For IE7-8 :

Message: 'f[...]' has the Null value or is not an object.
Line: 1
character: 2527
Code: 0
URI: admin.php?menu=xxxx&action=edit&num=xx


Message: Impossible operation because of the following error 80020101.
Line: 183
character: 4
Code: 0
URI: /3rdParty/tiny_mce/tiny_mce_gzip.js


An idea? Thanks !

Djulia

Re: [Dave] Notice: CMSB v2.04 Beta!

By rconring - April 14, 2010

Thanks for your reply, Dave.

Yes, this server is running v4.4.9 so I will give your fix a try.
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Re: [Djulia] Notice: CMSB v2.04 Beta!

By Dave - April 14, 2010

Hi Djulia,

That's really strange as I don't think that file was modified.

Try the following:
- Erase any cache files in: cmsAdmin/data/tiny_mce_*.gz
- Clear your browser cache

Let me know if that resolves it.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Notice: CMSB v2.04 Beta!

By Djulia - April 14, 2010

Hi Dave

I tested, but that does not function.

I also have an error message:
Warning: array_combine(): Both parameters should have at least 1 element in ../ConSole/lib/viewer_functions.php on line 392

An idea? Thanks !

Djulia