- Posts: 13
- Thank you received: 0
Server Error 500
- jamesmadden
-
Topic Author
- Offline
Server error
The website encountered an error while retrieving www.hmkenl.com/index.php?option=com_hika...type=cart&Itemid=133 . It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
When I enable debug in joomla I get.
Fatal error: Call to a member function get() on a non-object in /home/hmkenl/htdocs/components/com_hikashop/views/cart/view.html.php on line 281
I downloaded the latest version today and installed it. Still getting the same error.
Any ideas?
Please Log in or Create an account to join the conversation.
Can you check if you have this code:
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Try to replace it by:
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
Please Log in or Create an account to join the conversation.
If it still doesn't work, can you give us a ftp access ?
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
The joomla debug is
Fatal error: Call to a member function get() on a non-object in /home/hmkenl/htdocs/components/com_hikashop/views/cart/view.html.php on line 49
Also when I try to create a new cart or wishlist I am unable to add products. Everything seems to work. I check the items and click OK but the products are not added.
I will PM you login information.
Thank you
Please Log in or Create an account to join the conversation.
Can you check if the login/password are ok ?
PS: I tried with port 22 & 21.
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
Thanks
Please Log in or Create an account to join the conversation.
Could you give us the code line where the error is present ?
I think that the var $this->params is empty.
Try yo add:
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
Thank you.
Please Log in or Create an account to join the conversation.
Can you check that ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
In testing it however I seem to have another problem. What I did was, I added items to my cart, clicked "Proceed to checkout", clicked "Convert cart in wishlist", named the cart, and clicked "Save".
I can see the wishlist on the back end but it does not have any items in it.
From the frontend when I try to view my wishlists, it is not listed.
Am I doing something wrong, or is this a bug?
Thank you.
Please Log in or Create an account to join the conversation.
I'm not able to connect to you website (timeout) so I can't try it.
On my end it's working fine, I tried the same steps as explain.
Have you the latest HikaShop version ?
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Have you edited the controller product ? (components/com_hikashop/controllers/product.php).
In phpMyAdmin, do you see the products in the table "#__hikashop_cart_product" ?
The parameters send in post on the product page are correct, but in the backend no products are displayed.
I think that you have edited something that should not have.
Maybe a modification when you removed the prices.
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
I also checked the database table #__hikashop_cart_product and I do see the products listed. cart_id 151 and 152 are wishlists and cart_id 150 and 153 are carts. All 4 show 0 items in the back end.
cart_product_id cart_id product_id cart_product_quantity cart_product_parent_id cart_product_modified cart_product_option_parent_id cart_product_wishlist_id
423 153 39406 2 0 1358760641 0 0
422 152 39439 1 0 1358521018 0 0
421 151 40807 1 0 1358520948 0 0
420 150 35526 1 0 1358500105 0 0
419 150 37082 1 0 1358500094 0 0
Please Log in or Create an account to join the conversation.
I'm not able to edit files, I can't transfer files on your ftp. (not the permission)
But the problem is certainly in the file "admin / comps / com_hikashop / views / cart / view.html.php".
It's a strange thing because we don't have other reports on this.
Please Log in or Create an account to join the conversation.
- jamesmadden
-
Topic Author
- Offline
- Posts: 13
- Thank you received: 0
I have checked the file "admin / comps / com_hikashop / views / cart / view.html.php" and it is unmodified from the original.
The file /components/com_hikashop/views/cart./ view.html.php was has been modified. But that was to resolve the Error 500.
I will PM you with all the needed login information to look at and modify the files.
Thank you again.
Please Log in or Create an account to join the conversation.