Author Topic: [1.7.rc] After first new installation i catch this Error : "Missing lang.js"  (Read 17051 times)

master

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Hi !

My OS is ubuntu 10.04 desktop i386 (virtualized) - language Italiano

My step was :
  • install xampp : installation ok, with many control
  • install fengoffice : copy folder in local document root folder (/opt/lampp/htdocs/)
  • in my browser Firefox 3.6.3 launch :  http://localhost/fengoffice/index.php  for first running
  • ok on all prerequisite, ok on MySql db connection
  • next i see the login page
  • on the top of the login page i see:  Deprecated: Call-time pass-by-reference has been deprecated in /opt/lampp/htdocs/fengoffice/environment/functions/general.php  on line 579
  • then i insert username + password + Options List = Italiano + click on Login button
  • i see the form correctly except for string "Missing lang.js" in all place, listbox, checbox, string, ecc... But on the top right i see, in Italiano  :   Bentornato master (Esci) : Amministrazione  | Account  | Aiuto
  • then i logout and try other language
  • then i insert username + password + Options = English (U.S.) + click on Login button
  • i see the form correctly except for string "Missing lang.js" in all place, listbox, checbox, string, ecc..., but on the top right i see, in English  :   Welcome back master (Logout) : Administration  | Account  | Help


All files have correct auth access.   

What can i do ?

Ty for nice help.

Alex

P.S. i attach  screenshots for help
« Last Edit: May 04, 2010, 01:48:11 pm by master »

Megachip

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Same problem here with 1.7 rc2 on all languages

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
We'll look at it.
Have you tried setting allow_call_time_pass_reference to true "On" in your php.ini ?

Edit: Thanks karlstatt
« Last Edit: June 03, 2010, 11:02:27 am by cabeza »

karlstatt

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
"true" doesn't work for me. "On" is ok.

jkd77

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Neither 'true' nor 'on' works for me.

my php.ini by default appears like such:

max_execution_time = 300
post_max_size = 10M
upload_max_filesize = 10M

I've tried:

allow_call_time_pass_reference = on
allow_call_time_pass_reference = On
allow_call_time_pass_reference = true

Anything else we can use to fix this?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Have you restarted the Server after the changes ?

jkd77

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
This is @ dreamhost. Don't think i can re-start...?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
You should talk to them and see if and how the issue can be solved.
It is a PHP configuration issue ...

jkd77

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
They said they reconfigured the Apache instance that the domain is hosted on. This is still not working. Any other suggestions?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Try Googling the error for your specific configuration ... it is a pretty "popular" PHP issue nowadays.

You might find other users that solved the issue at Dreamhost

jkd77

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
After some follow up with Dreamhost support, they emailed me the following:

You've actually gotten the entire issue sorted with one minor exception - there is a bit more to creating and using a custom php.ini to work around this.

The following wiki has instructions on doing this in a way that will work on our systems.

It looks a bit complicated but if you're comfortable with the shell you'll be fine.

http://wiki.dreamhost.com/PHP.ini

----------

When I arrive at the instruction page, after reading the large imposing warning at the top of the page, I find the following:

Modified existing php.ini but not seeing the changes?

See the FastCGI page for instructions on how to either restart FastCGI or force a recache.

Restarting FastCGI from the shell:

killall -9 php5.cgi

Force a recache:

touch $HOME/example.com/cgi-bin/php-wrapper.fcgi

 --- Does this sound like the next step?

Thx again for all the help!

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
If DreamHost says it is the next step, then I believe them :)

jkd77

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Actually, instead of restarting or recaching, i had to follow a long list of things - but it did work!

Thx again for the assist!

jm08

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Could you post the steps you took to make it work on Dreamhost?  I've gotten the new config in and tried the restart and force recache to no avail.

Thanks.

jm08

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
I figured out my mistake.  I was modifying the php.ini file in the wrong spot.

Thanks.