News:

Looking for documentation? Take a look on our wiki

Main Menu

[ SOLVED ] Ask Question White window

Started by apeltoma, November 02, 2012, 11:06:48 AM

Previous topic - Next topic

apeltoma

Hello Sirs.

I faced irritating problem that i could not find from forum with searches or by browsing.

When trying to submit a question about product (without  Captha in use) there stays white window after pressing submit.

- I use customized Template but i tested it on default Beez2 template as well.
- virtuemart_vendor_id in db is "1"
- sendmail logs indicate it does not receive any attempt to send mail.
- When trying to debug it debug messages does not come in visible after clicking send. Only plain white window.

Used browsers:
- Safari
- Mozilla

Shop: www.shbp.fi

Virtuemart Version 2.0.12f
Joomla version 2.5.7
Joomla Platform 11.4.0

I would appreciate any help.
Br
Aleksi

bytelord

Hello,

When you submit the question you are getting a 500 error ...

"NetworkError: 500 Internal Server Error - http://www.apyachting.fi:8080/index.php/lights/aft-light-detail?tmpl=component"
port 8080?? another domain?www.apyachting.fi? Did you make any changes before you upload your site on your localhost? Check please your joomla configuration ...

Somewhere you have change those links.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

apeltoma

www.shbp.fi domain is framed to www.apyachting.fi:8080
Service Domain under Company domain.

That should not bother as user registering and ordering goods sends emails without any problems.

But thanks. I start going from that. Because that should come in apache logs.

Aleksi

apeltoma

Apache error_log gives following:

PHP Fatal error: Call to undefined function mb_strlen() in ...joomla/components/com_virtuemart/controllers/productdetails.phpon line 74, referer: http://www.apyachting.fi:8080/index.php/lights/aft-light-detail/askquestion?tmpl=component

In that php line is following:
$commentSize = mb_strlen (JRequest::getString ('comment'));

So seemingly check for message size is failing ?

bytelord

ok, tis seems that you haven't enabled mbstring in PHP.

Please compile your apache with mbstring enabled, is a very common usage library

So, its a PHP issue after all ... php version? hosting? If cpanel used (with WHM) run easyapache and compile apache again with mbstring enabled ... search on google for how you could do that because i don't know your environment.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

apeltoma


PHP is from Fedora package.
php-common-5.3.17-2.fc16

And yes using phpinfo i cannot see mbstring in there.
I don't know if it should show ?

bytelord

#6
ok, please enable them :)

open a terminal and run

A: % sudo yum install php-mbstring

or

yum install php-mbstring

Restart apache after ... :)

This is a linux thing i suppose not vm or joomla ... heh
btw, if you don't find the package run yum search mbstring

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

apeltoma

Thanks for instruction.
I googled that with fedora and found these instructions:

yum search mbstring
Finds real package name.

yum install <package name>

After that i restarted apache and things started working.
Case closed.

Thanks for Help.
Aleksi

bytelord

nice :)

Make sure that "box" is secured ... :)

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!