RC1 issues

RC1 issues, a forum discussion on Jojo CMS. Join us for more discussions on RC1 issues on our General Discussion forum.

Back to Forum Index : Back to General Discussion   RSS
synfield

28 Jul 2008
Posts: 43

I've upgraded from B1 to RC1, and now have problems accessing the following nav items;

content
reports
customize
configyration

I can navigate the other links ok, but have to manualy enter each of the above into the url to access their respective pages.

I also note that the RC1 has empty external folders e.g. Horde. But I've retained my B1 folders under external and now get a Fatal error: "Cannot redeclare class String in C:\www\htdocs\kiwiloans\jojocms\external\Horde\String.php" if I retain references to Horde i.e. in my Themes global file e.g. require_once(_BASEDIR . '/external/Horde/String.php');

Does RC1 place these external functions in another location? how do I access the horde functions now?

I'm also unable to get rid of –characters saved to table field "ar_body" replacing hyphens (-) & quote (') when I cut & paste content from web pages into the xinha RTE using html mode, yet the same content in "ar_bbbody" field is untouched?

Thanks.
Harvey

Core Developer

Harvey

28 Jul 2008
Posts: 327

First thing to try - CTRL-F5 on one of the admin pages to refresh the cached javascript files.

If that doesn't work, the fix is a little more complicated - go into (phpMyAdmin or your MySQL tool of choice) and manually delate all the admin pages. Then run www.domain.com/setup/ and it will regenerate all your admin pages with the right links in place. Obviously if you have customized any of your admin pages, you will ened to re-add these.

With the external folder issue - we have moved most of the externals from /externals/ to /plugins/jojo_core/externals/

If there is a lingering /externals/ folder in the root of your Jojo folder, I'm 99% sure this is safe to delete.

Horde, and some of the other externals are set to auto-include - something we can do now that Jojo is PHP5 only. So any require_once calls to Horde files should be able to be removed safely.

For other files you need to include, here's a snippet of code you can use - this seems a bit convoluted, but is pretty upgrade-resistant, and won't include the same file twice, even if the same external is present in more than one plugin.
foreach (Jojo::listPlugins('external/foo/bar.php') as $file) {require_once($file); break;}


I don't have a definitive answer on the special characters issue - personally I bend over backwards to not use these characters in my content (I don't use the WYSIWYG, this is one reason why).

Perhaps one of the other team members has some comment on this one?

Hope this helps.
synfield

28 Jul 2008
Posts: 43

Thanks Harvey, It should be second nature to me to use ctrl-F5 and/or run www.domain.com/setup/ by now.

It would be great if one of the other jojo team members could solve the punctuation issue, as it's not unusual to expect clients to be able to use hyphens or apostrophes in their content.

Regards
Harvey

Core Developer

Harvey

28 Jul 2008
Posts: 327

The punctuation issue stems from the MS Word proprietary format for these characters, which are sort of like UTF-8 but not. I have personally wasted days on this issue, and still don't have a satisfactory solution - not even a PHP cleaner function that can solve the problem after the fact.

I totally agree that this *should* just work, but the reality is that lots of web based CMS programs have this same issue. One of those problems everyone seems to have, but nobody has a real answer.

Not ideal, no.
tom

Developer

tom

2 Aug 2008
Posts: 379

Generally I use the "Paste as Plain Text" button in Xinha to clean out all the formatting Word throws in.
It's not just the special characters Word screws up, but it adds huge numbers of formatting tags that mean nothing to most browsers
Back to Forum Index : Back to General Discussion   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.