Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Vietnamese language plugin error


1 reply to this topic

#1 Jay Best

  • Community Member
  • 4 posts

Posted 30 January 2012, 00:15

On http://www.thelalashop.com/ when I select the Vietnamese language from the drop down, this seems to cause a server error.

The website encountered an error while retrieving http://www.thelalashop.com/index.php?language=vn&osCsid=ohcdmudg18i64r2322uvehhan4. It may be down for maintenance or configured incorrectly.

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

I have just installed the module as per the instructions, and loaded the pages with alternative text translation, but this is crashing the server.

Any ideas where to start?

Cheers,
Jay Best

#2 Jay Best

  • Community Member
  • 4 posts

Posted 31 January 2012, 07:03

Ok I have worked out that this is actually related to another problem that I have.

Basically the vietnam language, is declaring the folder as a double "includes/languages/"
eg it is causing an error here:
require(includes/languages//includes/languages/vietnam.php)

I think this is referring to the constant DIR_WS_LANGUAGES but I am not sure where this is referenced, but I think if I update this, then this will fix both this problem as well as the issue of why the vietnam logo is broken (it references the image to the wrong directory also)
http://forums.oscommerce.com/topic/383141-languages-icon-broken/

When I view the English language in the Admin section, it is displayed as /includes/languages/english.

AH!! I think I have worked it out, or am close to working it out!!
I logged back into the admin section of the site, and removed /includes/languages/ from the folder, so it only directs to vietnam (and the directory already knows that it is in /includes/languages/ so that fixes that issue.

So only left with another problem.

I have the vn icon still not displaying, and if I try to open the image it says
Permission Denied.
http://www.thelalashop.com/includes/languages/vietnam/images/icon.gif

I have changed that icon permissions to 777 and it still come up with that error.
When I look in FTP the file is certainly there...