HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Adding language (Dutch) files leads to major problems

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#57082 (In Topic #12422)
Avatar

Fan in action

Did a clean install of OcPortal 4.2.1 (through Installatron), then upgraded succesfully from within my new OcPortal site to 4.2.2. Everything worked fine until I added Dutch language po-files in lang_custom Directory. Now as soon as I try to reach Admin Zone or CMS zone, browser asks me if I want to open or save index.php. Apparently, these files are not being parsed as php files. But I don't know what to do with it.
If I place the po files in lang Directory, same problem appears even when trying to reach the frontpage of my site.

I guess I'm doing some simple thing wrong, but I can't figure out what.

Any help appreciated!
Back to the top
 
Posted
Rating:
#57090
Avatar

Hi,

.php files being downloaded can happen if PHP crashes when trying to run them.

Did any PHP errors show up in ocPortal's error log (if you can't access it from inside ocPortal, you can look inside the data_custom/errorlog.php file in a text editor), or the web server's own error logs?

If you zip up your lang_custom directory and attach it here it could help a lot.

Does the problem happen when the site's default language is still English, or just when switched to Dutch?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61220

Non-joined user

I have many problems with Lithuanian characters although I have corrected global,ini file to 8859-4

Although we really need utf-8, but it failed a couple times and I reinstalled ocportal 3 times

Even my sourses show:

<html id="main_website_html" xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head profile="http://www.w3.org/2003/g/data-view http://dublincore.org/documents/dcq-html/ http://gmpg.org/xfn/11 http://www.w3.org/2006/03/hcard">
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=ISO-8859-1" />
This isn't OK

Please help me ! I am reading and reading all tutorials...


Back to the top
 
Posted
Rating:
#61227
Avatar

Hello,

It might be that you need to empty the language cache if you are editing lang_custom/LI/global.ini manually. You can do this from inside ocPortal or you can delete lang_cached/LI/*.lcd.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61229

Non-joined user

Chris Graham said


 You can do this from inside ocPortal or you can delete lang_cached/LI/*.lcd.

I do not have LT folder inside of  lang_cached
Should I create it?
Back to the top
 
Posted
Rating:
#61230
Avatar

Yes, but it probably won't solve this problem (it will help performance).
If you'd like me to take a look please open a free support ticket with server access details.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61332

Non-joined user

Never did it "open a free support ticket with server access details."
I could give you access if you could write me personally (amuste@yahoo.com)

because I can't write you as not regular member of forum

To join forum I can't because get unsecurity table when trying (?)
Back to the top
 
Posted
Rating:
#61355
Avatar

Hello,

You don't need to be logged in.

https://ocportal.com/site/tickets/ticket.htm?ticket_template=bug&cost=free

I'm not sure what the joining problem is though. Maybe if you can show a screenshot of what you mean then I'll understand.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: