Error

usr190809
August 19, 2009, 02:52 PM posted in General Discussion

After trying to switch to traditional char. display, I receive:

Parse error: syntax error, unexpected '<' in /var/www/vhosts/chinesepod.com/releases/20090819032400/application/modules/lessons/controllers/LessonController.php(896) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: &lt;span onclick=&quot;onWordClick()&quot; onmouseover=&quot;tip(event,'Xiao Zhao','Xiao3 Zhao4','��','�赵')&quot; onmouseout=&quot;htip()&quot;&gt;�� in /var/www/vhosts/chinesepod.com/releases/20090819032400/application/modules/lessons/controllers/LessonController.php on line 896

Profile picture
camerontstark
August 19, 2009, 04:04 PM

I've been having the same problem since I use Traditional primarily. I hope it means that they're updating Skritter with the traditional characters first. =p

Profile picture
John
August 22, 2009, 08:14 AM

Could you guys explain the circumstances under which you get this error?  For example, is it on a lesson page?  If so, which lesson, and which tab (vocab, expansion, etc.)?

Thanks! We'll try to get this fixed ASAP.

Profile picture
matthiask
August 22, 2009, 09:32 AM

this error came 3 days ago when clicking "discussion","exercises" ... and so forth.

It appears to be fixed already, as the error disappeared the next day. At least for my, the error is not reproducible anymore.

 

However, an error that sticks is that no matter how often I switch from traditional characters to simplified, the next time I access the site, I get them back. Is this information saved in a cookie?

Profile picture
user26513
August 22, 2009, 10:54 AM

Is there a way to add a link to the traditional transcript on the "Lesson Channel" pages. When I update my PDA with the a number of lessons MP3s and transcripts, I have to go to each individual lesson page to download the traditional transcript.

Were I to be using the simplified, making a Lesson Channnel batch download would be more straight forward ( like 10 at a time). I do not find that being around a computer helps me with my Chinese, so I like to bring it around with me!

Profile picture
John
August 24, 2009, 02:56 AM

matthiask,

Your preferred character set is saved to the database, not to a cookie.  It should "stick."  I will look into your case.

Profile picture
John
August 24, 2009, 02:58 AM

user26513,

If you have switched to "traditional" in your character settings (click on that little gray gear at the top right of the lesson pages), then the PDF download link should also be for the traditional character PDF. This isn't working for you?