On submit code doesn't get saved

Please post any ChronoForms bugs you found here

On submit code doesn't get saved

Postby OCS on Thu May 22, 2008 6:07 am

Hi, I'm using Joomla 1.5.2 and ChronoForms 2.5 RC3.1.

When i try to add "On submit code before sending email" -code which contains characters like "ä", "ö", "é" it cuts the code at the first occurance of one of those letters when saving the form.

Let's say i want to put this in the code field (with php tags):

Code: Select all
echo "Ääääääää";


When I save the form and go back to see the code it will look like this:

Code: Select all
echo "


I tried to search if someone has had the same problem but with no luck. If there's a thread already please send a URL to it :)
OCS
Fresh Boarder
 
Posts: 15
Joined: Wed Mar 05, 2008 9:47 am

Re:On submit code doesn't get saved

Postby GreyHead on Thu May 22, 2008 7:48 am

Hi OCS,

Please use HTML entities to add these characters to your html.

You could also try
Code: Select all
echo htmlentities['string');
see the php manual for more info.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3253
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:On submit code doesn't get saved

Postby OCS on Thu May 22, 2008 8:37 am

That doesn't work. If i put:

Code: Select all
echo htmlentities('Äääääää');


and save it, it looks like this:

Code: Select all
echo htmlentities('


I'm making a custom mailing script and I use these letters in strings also. If i want to make a string:

Code: Select all
$foo = "Message äääää";


it doesn't save anything but:

Code: Select all
$foo = "Message


On another project i have Joomla 1.5.0 and ChronoForms 2.5 RC2 installed and this works fine.
OCS
Fresh Boarder
 
Posts: 15
Joined: Wed Mar 05, 2008 9:47 am

Re:On submit code doesn't get saved

Postby admin on Thu May 22, 2008 11:56 pm

Hi OCS,

I think this is something server related, it worth a try if you don't have alot of work done yet to install RC2 on this new server and see if it works well and if so then we can find a fix for this issue which will then be CF related!

Just let me know

Cheers

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 2323
Joined: Mon Aug 14, 2006 5:29 am

Re:On submit code doesn't get saved

Postby OCS on Fri May 23, 2008 5:00 am

admin wrote:I think this is something server related, it worth a try if you don't have alot of work done yet to install RC2 on this new server and see if it works well and if so then we can find a fix for this issue which will then be CF related!

Just let me know

I installed RC2.1 version and it works fine.

I'm running this system on 2 different systems (localhost & remote server):

Apache 2.2.6 + PHP 5.2.5 + MySQL 5.0.51

IIS 6.0 + PHP 4.4.1 + MySQL 4.1.16

Problem existed in both systems with RC3.1 version. I can use RC2.1 now so there's no panic.
OCS
Fresh Boarder
 
Posts: 15
Joined: Wed Mar 05, 2008 9:47 am

Re:On submit code doesn't get saved

Postby admin on Fri May 23, 2008 12:28 pm

Thank you for the update, then this is an issue, could you please send me an email through the contact us form at the top of the site so we can run some test at your server someway, I cant regenerate the issue here as all is fine, I will just give you some files to overwrite and test!

Thanks again!

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 2323
Joined: Mon Aug 14, 2006 5:29 am

Re:On submit code doesn't get saved

Postby OCS on Mon May 26, 2008 7:13 am

admin wrote:Thank you for the update, then this is an issue, could you please send me an email through the contact us form at the top of the site so we can run some test at your server someway, I cant regenerate the issue here as all is fine, I will just give you some files to overwrite and test!

I'll try to make a fresh install as soon as possible when I got the time and notify you after it's done.
OCS
Fresh Boarder
 
Posts: 15
Joined: Wed Mar 05, 2008 9:47 am


Return to ChronoForms Bugs

Who is online

Users browsing this forum: No registered users and 2 guests