News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED]Error 500 while logging in

Started by Nussi, July 26, 2012, 12:20:23 PM

Previous topic - Next topic

Nussi

Hello there!
I try to get a VirtueMart running on Joomla. I solved all major and minor issues but for now one remained unsolved. When I fill my cart and proceed to checkout I may create my account which works fine. Then I proceed and the following site will be shown (sorry for blurring things out, but I entered personal data ..  :o ):


When I try to login, I get a Joomla errorscreen with a 500 error:


As there's no further error message, I don't know how to solve this. May you help me finding the error? :)


QuotePHP 5.3.3-7+squeeze13 with Suhosin-Patch (cli) (built: Jun 10 2012 09:35:18)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

apache2 -v
Server version: Apache/2.2.16 (Debian)

Using Debian squeeze, Joomla 2.5.6 with VirtueMart 2.0.8e and the virtuemart-aio

Joomla Debug console output:
Quote
Session:
session.counter ⇒ 240
session.timer.start ⇒ 1343287013
session.timer.last ⇒ 1343297023
session.timer.now ⇒ 1343297282
session.client.browser ⇒ Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5
registry ⇒ {"com_virtuemart":{"category7":{"limit":"int"},"category":{"limit":"int","limitstart":0},"category1":{"limit":"int"},"category5":{"limit":"int"},"category35":{"limit":"int"},"category6":{"limit":"int"},"category39":{"limit":"int"},"category2":{"limit":"int"},"category15":{"limit":"int"},"category18":{"limit":"int"},"category3":{"limit":"int"},"category50":{"limit":"int"},"category51":{"limit":"int"},"category8":{"limit":"int"},"cart":{"limit":"int","limitstart":0}},"users":{"login":{"form":{"return":"\/shop\/cart"}}}}

vm session
vmcart ⇒ O:8:"stdClass":22:{s:8:"products";a:1:{i:1;O:8:"stdClass":40:{s:26:"virtuemart_manufacturer_id";s:1:"2";s:4:"slug";s:13:"product-slug";s:9:"published";s:1:"1";s:27:"virtuemart_product_price_id";s:1:"1";s:21:"virtuemart_product_id";s:1:"1";s:26:"virtuemart_shoppergroup_id";N;s:13:"product_price";s:9:"119.00000";s:8:"override";N;s:22:"product_override_price";s:7:"0.00000";s:14:"product_tax_id";s:2:"-1";s:19:"product_discount_id";s:1:"0";s:16:"product_currency";s:2:"27";s:20:"virtuemart_vendor_id";s:1:"1";s:17:"product_parent_id";s:1:"0";s:11:"product_sku";s:9:"HI3280-10";s:12:"product_name";s:13:"product-name";s:14:"product_s_desc";s:47:"nice product description";s:14:"product_weight";s:6:"0.0000";s:18:"product_weight_uom";s:2:"KG";s:14:"product_length";s:6:"0.0000";s:13:"product_width";s:6:"0.0000";s:14:"product_height";s:6:"0.0000";s:15:"product_lwh_uom";s:1:"M";s:16:"product_in_stock";s:2:"-2";s:15:"product_ordered";s:1:"0";s:13:"product_sales";s:1:"2";s:12:"product_unit";s:0:"";s:17:"product_packaging";s:1:"0";s:15:"min_order_level";s:1:"0";s:15:"max_order_level";s:1:"0";s:19:"virtuemart_media_id";a:1:{i:0;s:2:"24";}s:10:"categories";a:1:{i:0;s:1:"7";}s:22:"virtuemart_category_id";s:1:"7";s:13:"category_name";s:11:"cat";s:4:"link";s:75:"/index.php/shop/cat/subcat/[...]-detail";s:9:"packaging";s:0:"";s:8:"quantity";i:3;s:3:"url";s:75:"/index.php/shop/cat/subcat/[..]-detail";s:12:"customfields";s:0:"";s:12:"cart_item_id";i:1;}}s:8:"vendorId";i:1;s:21:"lastVisitedCategoryId";i:0;s:28:"virtuemart_shipmentmethod_id";i:0;s:27:"virtuemart_paymentmethod_id";i:0;s:25:"automaticSelectedShipment";b:0;s:24:"automaticSelectedPayment";b:0;s:12:"order_number";N;s:2:"BT";a:25:{s:4:"name";s:11:"Jan ";s:8:"username";s:0:"";s:7:"company";s:0:"";s:5:"email";s:22:"mail@web.de";s:5:"title";N;s:10:"first_name";s:3:"Jan";s:11:"middle_name";s:0:"";s:9:"last_name";s:7:"...";s:9:"address_1";s:5:"flupp";s:9:"address_2";s:0:"";s:3:"zip";s:5:"75417";s:4:"city";s:10:"Berlin";s:21:"virtuemart_country_id";s:2:"58";s:19:"virtuemart_state_id";N;s:7:"phone_1";s:9:"547436878";s:7:"phone_2";s:0:"";s:3:"fax";s:0:"";s:21:"delimiter_bankaccount";N;s:19:"bank_account_holder";N;s:15:"bank_account_nr";N;s:14:"bank_sort_code";N;s:9:"bank_name";N;s:17:"bank_account_type";N;s:9:"bank_iban";N;s:6:"agreed";s:1:"1";}s:2:"ST";i:0;s:11:"tosAccepted";i:1;s:16:"customer_comment";s:0:"";s:10:"couponCode";s:0:"";s:8:"cartData";a:7:{s:4:"duty";i:1;s:7:"payment";i:0;s:11:"paymentName";s:31:"Keine Zahlungsweise ausgewählt";s:14:"DBTaxRulesBill";a:0:{}s:12:"shipmentName";s:28:"Keine Versandart ausgewählt";s:12:"taxRulesBill";a:0:{}s:14:"DATaxRulesBill";a:0:{}}s:5:"lists";a:2:{s:6:"shipTo";s:0:"";s:6:"billTo";i:0;}s:17:"pricesUnformatted";a:25:{s:9:"basePrice";s:3:"357";s:16:"basePriceWithTax";s:1:"0";s:25:"discountedPriceWithoutTax";s:1:"0";s:10:"salesPrice";s:3:"357";s:9:"taxAmount";s:1:"0";s:22:"salesPriceWithDiscount";s:1:"0";s:14:"discountAmount";s:1:"0";s:15:"priceWithoutTax";s:3:"357";s:16:"subTotalProducts";s:1:"0";i:1;a:21:{s:9:"costPrice";s:9:"119.00000";s:9:"basePrice";s:3:"119";s:16:"basePriceVariant";s:3:"119";s:16:"basePriceWithTax";s:1:"0";s:25:"discountedPriceWithoutTax";s:1:"0";s:14:"priceBeforeTax";s:3:"119";s:10:"salesPrice";s:3:"119";s:9:"taxAmount";s:1:"0";s:22:"salesPriceWithDiscount";s:1:"0";s:14:"salesPriceTemp";s:3:"119";s:14:"discountAmount";s:1:"0";s:15:"priceWithoutTax";s:3:"119";s:19:"variantModification";s:1:"0";s:5:"DBTax";a:0:{}s:3:"Tax";a:0:{}s:6:"VatTax";a:0:{}s:5:"DATax";a:0:{}s:8:"subtotal";s:3:"357";s:19:"subtotal_tax_amount";s:1:"0";s:17:"subtotal_discount";s:1:"0";s:17:"subtotal_with_tax";s:3:"357";}s:13:"shipmentValue";s:1:"0";s:11:"shipmentTax";s:1:"0";s:13:"shipmentTotal";s:1:"0";s:18:"salesPriceShipment";s:1:"0";s:21:"discountBeforeTaxBill";s:1:"0";s:7:"withTax";s:3:"357";s:16:"discountAfterTax";s:3:"357";s:12:"paymentValue";s:1:"0";s:10:"paymentTax";s:1:"0";s:12:"paymentTotal";s:1:"0";s:17:"salesPricePayment";s:1:"0";s:7:"billSub";s:3:"357";s:18:"billDiscountAmount";s:1:"0";s:13:"billTaxAmount";s:1:"0";s:9:"billTotal";s:3:"357";}s:14:"pricesCurrency";i:27;s:15:"paymentCurrency";N;s:11:"_inCheckOut";b:1;s:14:"_dataValidated";b:0;s:12:"_confirmDone";b:0;s:10:"STsameAsBT";i:0;}
vmlastvisitedcategoryid ⇒ 7


Nussi

Iam a moron!

Just forgot to check the logfile:

Quote[Thu Jul 26 12:30:58 2012] [error] [client 127.0.0.1] PHP Warning:  fopen(/var/www/logs/error.php): failed to open stream: Permission denied in /var/www/libraries/joomla/log/loggers/formattedtext.php on line 248, referer: https://localhost/index.php/shop/cart
[Thu Jul 26 12:30:58 2012] [error] [client 127.0.0.1] PHP Warning:  fputs() expects parameter 1 to be resource, boolean given in /var/www/libraries/joomla/log/loggers/formattedtext.php on line 254, referer: https://localhost/index.php/shop/cart

Solved this by setting proper permissions!

Anne42

Hi,

Sorry, where can I change the permissions? Is it the one in configuration.php? Thanks!  :)