[Skip to main content](#vessel-content)

#   Internal Server Error

##

- **[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")**
- [![mohairbears's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/916-mohairbears "View mohairbears's Profile") Topic Author
- [ Offline](/forum/user/916-mohairbears)

Less More

- Posts: 610
- Thank you received: 13
-

15 years 8 months ago [\#9622](#9622) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  *[Internal Server Error](/forum/4-how-to/9622-internal-server-error#9622 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")* was created by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")*

Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mohairbearmakingsupplies.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

---

Apache/2 Server at [ www.mohairbearmakingsupplies.co.uk](http://www.mohairbearmakingsupplies.co.uk) Port 80

This is from my sever error log, not sure if it points to the error?

[Mon Feb 28 18:34:15 2011] [error] [client 88.96.34.246] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public_html/plugins/hikashoppayment/paypal_end.php on line 25, referer: [ www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25](http://www.mohairbearmakingsupplies.co.uk/index.php?option=com_hikashop&ctrl=checkout&Itemid=25)

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#9632](#9632) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Internal Server Error](/forum/4-how-to/9622-internal-server-error#9632 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")*

Since you get that warning, it means that hikashop goes to the end of the process since that code is near the end of the execution of hikashop.

But it was working before right ? Did you change something ? Added an extension or a plugin which might cause the problem ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")**
- [![mohairbears's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/916-mohairbears "View mohairbears's Profile") Topic Author
- [ Offline](/forum/user/916-mohairbears)

Less More

- Posts: 610
- Thank you received: 13
-

15 years 8 months ago [\#9633](#9633) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  Replied by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")* on topic *[Re: Internal Server Error](/forum/4-how-to/9622-internal-server-error#9633 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")*

Hi, don't think I have changed anything that would have caused it, I have installed a few plug ins though, I will uninstall them and try that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")**
- [![mohairbears's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/916-mohairbears "View mohairbears's Profile") Topic Author
- [ Offline](/forum/user/916-mohairbears)

Less More

- Posts: 610
- Thank you received: 13
-

15 years 8 months ago [\#9635](#9635) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  Replied by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")* on topic *[Re: Internal Server Error](/forum/4-how-to/9622-internal-server-error#9635 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")*

Hi, I have uninstalled the plugins and it still does not work? I have now taken the site off line as I have some very irate customers.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#9638](#9638) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Internal Server Error](/forum/4-how-to/9622-internal-server-error#9638 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")*

Well, an internal server error can happen for nearly anything...
It could be because the page uses too much resources or because you reached an email sending limit, or because a bug somewhere, in hikashop but it could also be in something else on your website which interfere, etc.

It's impossible to say more without more information. Could you ask your hosting company if they have more logs ? Like a fatal error or something ?

Maybe updating hikashop might help but if you didn't had the problem before then it should not be in hikashop...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")**
- [![mohairbears's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/916-mohairbears "View mohairbears's Profile") Topic Author
- [ Offline](/forum/user/916-mohairbears)

Less More

- Posts: 610
- Thank you received: 13
-

15 years 8 months ago [\#9720](#9720) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  Replied by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")* on topic *[Re: Internal Server Error](/forum/4-how-to/9622-internal-server-error#9720 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")*

Still cannot get it to work, uninstalled the plugins, updated etc.

The common error message from my server is:

Mon Feb 28 18:34:15 2011] [error] [client 88.96.34.246] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public_html/plugins/hikashoppayment/paypal_end.php on line 25, referer: [ www.mohairbearmakingsupplies.co.uk/index...eckout&amp;Itemid=25](http://www.mohairbearmakingsupplies.co.uk/index...eckout&Itemid=25)

this is the file can you see anything wrong?

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.4.5
* @author hikashop.com
* @copyright (C) 2010 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;div class="hikashop_paypal_end" id="hikashop_paypal_end"&gt;
&lt;span id="hikashop_paypal_end_message" class="hikashop_paypal_end_message"&gt;
&lt;?php echo JText::_('PLEASE_WAIT_BEFORE_REDIRECTION_TO_PAYPAL').'&lt;br/&gt;'. JText::_('CLICK_ON_BUTTON_IF_NOT_REDIRECTED');?&gt;
&lt;/span&gt;
&lt;span id="hikashop_paypal_end_spinner" class="hikashop_paypal_end_spinner"&gt;
&lt;img src="&lt;?php echo HIKASHOP_IMAGES.'spinner.gif';?&gt;" /&gt;
&lt;/span&gt;
&lt;br/&gt;
&lt;form id="hikashop_paypal_form" name="hikashop_paypal_form" action="&lt;?php echo $method-&gt;payment_params-&gt;url;?&gt;" method="post"&gt;
&lt;div id="hikashop_paypal_end_image" class="hikashop_paypal_end_image"&gt;
&lt;input id="hikashop_paypal_button" type="submit" value="" name="" alt="Click to pay with PayPal - it is fast, free and secure!" /&gt;
&lt;/div&gt;
&lt;?php
foreach( $vars as $name =&gt; $value ) {
echo '&lt;input type="hidden" name="'.$name.'" value="'.htmlspecialchars($value).'" /&gt;';
}
$doc =&amp; JFactory::getDocument();
$doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {document.getElementById('hikashop_paypal_form').submit();});");
JRequest::setVar('noform',1);
?&gt;
&lt;/form&gt;
&lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#9733](#9733) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Internal Server Error](/forum/4-how-to/9622-internal-server-error#9733 "Hi, None of my orders have been able to pay via Paypal as the system crashes with the below message  Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.  More information about this error may be available in the server error log.  -----  Apache/2 Server at   www.mohairbearmakingsupplies.co.uk  Port 80  This is from my sever error log, not sure if it points to the error?  &#91;Mon Feb 28 18:34:15 2011&#93; &#91;error&#93; &#91;client 88.96.34.246&#93; PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/sites/mohairbearmakingsupplies.co.uk/public&#95;html/plugins/hikashoppayment/paypal&#95;end.php on line 25, referer:   www.mohairbearmakingsupplies.co.uk/index...l=checkout&amp;Itemid=25  thanks")*

That warning is just a warning and shouldn't cause the problem. You can easily revmoe it by changing the line:
echo '&lt;input type="hidden" name="'.$name.'" value="'.htmlspecialchars($value).'" /&gt;';

to:

if(!is_array($value)) echo '&lt;input type="hidden" name="'.$name.'" value="'.htmlspecialchars($value).'" /&gt;';

But I doubt that it will solve your problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzk2MjItaW50ZXJuYWwtc2VydmVyLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
