Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2012, 02:46:17 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155363 Posts in 21694 Topics by 7729 Members
Latest Member: piset
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Feedback module - problem after language edit and unable to uninstall  (Read 652 times)
dennisvr

Offline Offline

Posts: 20


« on: June 13, 2008, 04:42:23 PM »

Hi,

Yesterday I installed the Feedback module, now after changing a part of the translation using "language edit" the module won't start. I cannot remove the page or feedback section from the page (Admin background and menu, white content square).

So, unfortunately I cannot uninstall the module and reinstall the module.

Can anybody help me solving this problem?

This is what I've done:

- I translated the language file and saved it as NL.php in the language directory
- During testing I noticed some spelling errors
- I went into to "edit language" in admin-settings
- The NL lanuage file was not complete, and I noticed German/English texts which I changed
- I saved the file and the error occured

I assume that the NL langiage file in admin-settings was different from the NL.php file I uploaded with the module.

Thank you for your help!

Best regards,

Dennis

P.s. I will, ofcourse, upload the Dutch translation after I have finished testing it.
Logged
casinnova

Offline Offline

Posts: 12


« Reply #1 on: September 02, 2008, 05:18:23 PM »

hello weary user...

i had a similar problem while making an Estonian translation.   i am using the "languageedit_v.91" module via the admin-tools.   after using this module to edit "download_gallery_v1 .90" module it stopped working.  i went onto my webserver via FTP and downloaded the newly created ET.php file and the original EN.php file to compare them.  this is the discrepancy that i found at the bottom of the php code....

ENGLISH (working code) 
Code:
$DGTEXT['GPLOOP'] = 'Group Loop';
$DGTEXT['GPFOOTER']    = 'Group Footer';
$DGTEXT['NOGROUP'] = '';
$DGTEXT['SEARCHFILTER'] = 'Search Filter';
$DGTEXT['SEARCHLAYOUT'] = 'Search';
$DGTEXT['NOMATCH'] = 'No Match Found';

ESTONIAN (non-working code)
Code:
$DGTEXT['GPLOOP'] = 'Group Loop';
$DGTEXT['GPFOOTER'] = 'Group Footer';
$DGTEXT['NOGROUP']
$DGTEXT['SEARCHFILTER'] = 'Search Filter';
$DGTEXT['SEARCHLAYOUT'] = 'Search';
$DGTEXT['NOMATCH'] = 'No Match Found';


NOTICE  line #3 ...  for some reason the variable wasnt assigned a value, thus no semi-colon.  i dont know if this would have showed up in ERROR-Reporting because i had it set to E-NONE.  so, i just put in " = ''; "  and  now it works like a charm. 

i hope this helps.
Logged
casinnova

Offline Offline

Posts: 12


« Reply #2 on: September 02, 2008, 06:04:07 PM »

okay my friend...

i was curious about this issue so i tested a translation in the "Feedback" module.  again, compare the code:

GOOD
Code:
define('fb_frontend_comment_header',     '<a href="mailto:%s">%s</a> wrote at %s:');
define('fb_frontend_header',    'We would like to hear your opinion.');

BAD
Code:
define('fb_frontend_comment_header',    '<a href = '\"mailto:%s\">%s</a> written at %s:\\');
';
define('fb_frontend_header',    'We would like to hear your opinion.');

you can see how this is all jacked up.  perhaps the translation module tries to do addslashes() or some magic_quotes crap. 

Perhaps the best option is to edit these translation files manually.  just go to:
/modules/feedback/languages       and you'll see it.     i didn't notice anyone else with these issues while i was browsing the original  thread for the "languageedit" module. so, who knows.   

again, i hope this helps
« Last Edit: September 02, 2008, 06:09:04 PM by casinnova » Logged
dennisvr

Offline Offline

Posts: 20


« Reply #3 on: November 26, 2008, 01:27:24 PM »

Hi casinnova,

I still have to try it, but your help is appreciated!

All the best,

Dennis
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!