close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add UE within a Joomla article using Jumi

Thread began 9/27/2012 9:59 am by tmcbinc99963 | Last modified 9/27/2012 2:42 pm by tmcbinc99963 | 2761 views | 4 replies |

tmcbinc99963

Add UE within a Joomla article using Jumi

As you probably know, Joomla editors can strip out php code when trying to use source code within an article. As a workaround, there's a third party Jumi component that prevents the code from being omitted, but requires putting a link within the article. This points to a separate html file that includes the source code. This is what I'm trying in order to get UE to work in Joomla - if there's an easier way, please advise. Otherwise...

Following is the syntax error I receive on page load:
Parse error: syntax error, unexpected T_VARIABLE in /homepages/20/d357158472/htdocs/test/Joomla_1/Contactus_Jumi.html on line 48

Attached is the Jumi file

You can view the error on submit at: index.php?option=com_content&view=article&id=120&Itemid=70

Additional info: I also tried saving as php file, but with same error result.

Thanks

Attached Files
Contactus_Jumi.html.zip
Sign in to reply to this post

Jason ByrnesWebAssist

line 48 is missing a ">" comparison.

change line 48:

php:
$TimeRemaining = ($BurstsRemaining * $BurstTime * 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$EmailsRemaining)*$RealWait) - (($AfterBursts $EmailsRemaining)?0:($IntoBurst*$RealWait));



php:
$TimeRemaining = ($BurstsRemaining * $BurstTime * 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$EmailsRemaining)*$RealWait) - (($AfterBursts>$EmailsRemaining)?0:($IntoBurst*$RealWait));



the change is subtle, but in the middle of the expression, this portion of code:
...($AfterBursts $EmailsRemaining)?...

should be:
...($AfterBursts>$EmailsRemaining)?...

Sign in to reply to this post

tmcbinc99963

Thanks; the page now loads.

Now I get the following error on submit:
Fatal error: session_start() [<a href='plugins/function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /tmp) in /homepages/20/d357158472/htdocs/test/Joomla_1/Contactus_Jumi.html on line 55

Link to form: index.php?option=com_content&view=article&id=120&Itemid=70

Jumi file attached; updated per previous post.

Thanks

Attached Files
Contactus_Jumi.html.zip
Sign in to reply to this post

Jason ByrnesWebAssist

this is an issue with the session management settings on your server.

you will need to contact the host to have this corrected.

Sign in to reply to this post

tmcbinc99963

Will check it out, thanks.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...