Author Topic: [fixed]Error 500!  (Read 6386 times)

Tee shot

  • Beginner
  • *
  • Posts: 39
[fixed]Error 500!
« on: September 15, 2011, 14:10:39 pm »
hi
I was about to uploarder a picture of virtuemart and when I confirmed I had a 500 error, since the site is more accessible and I get the message:

The server hosts three other sites without any problems for the moement 2 with joomla.

this message in the file error_log :
Quote
[15-Sep-2011 13:33:11] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:35:56] PHP Fatal error:  Call to a member function getProduct() on a non-object in /home/teeshotw/public_html/pessacnatsynchro/components/com_virtuemart/views/productdetails/view.html.php on line 79

it's urgent the whole site is down.

thank

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10337
  • VirtueMart Version: 3+
Re: Error 500!
« Reply #1 on: September 15, 2011, 14:29:07 pm »
the site is still down because a picture would not upload?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Tee shot

  • Beginner
  • *
  • Posts: 39
Re: Error 500!
« Reply #2 on: September 15, 2011, 14:34:33 pm »
apparently yes, the other sites works perfectly, I put an index.html file and it works, I do not know what to do!

http://www.pessac-natsynchro.fr/

http://www.pessac-natsynchro.fr/index.php

same server

http://www.willdeluna.fr/
http://www.dmellot.fr/

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10337
  • VirtueMart Version: 3+
Re: Error 500!
« Reply #3 on: September 15, 2011, 15:09:48 pm »
disable the cart module and see what happens
Cannot access protected property VirtueMartViewCart:

^^^ that seems like its from the shopping cart module
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Tee shot

  • Beginner
  • *
  • Posts: 39
Re: Error 500!
« Reply #4 on: September 15, 2011, 15:18:28 pm »
I do not have access to the admin, except the html and txt to the root nothing works.

I do not have access to the admin, except the html and txt to the root nothing works. What I do not understand is that the frontpage is not virtuemart and the link to the shop is special access. So the rest should work.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10337
  • VirtueMart Version: 3+
Re: Error 500!
« Reply #5 on: September 15, 2011, 15:21:43 pm »
could be an htaccess problem, have you tried disabling it?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3894
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Error 500!
« Reply #6 on: September 15, 2011, 15:28:47 pm »
Can you copy/paste your server logged errors ?

YOu can try to rename the folder mod_virtuemart_cart (add a simple - for eg.)
Then joomla dont find it, but this don't break your site

If you dont have acces to administrator folder, in many case t's not a problem with .htaccess but you can try to rename it to

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3894
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Error 500!
« Reply #7 on: September 15, 2011, 15:32:42 pm »
For what i can see it's as the server don't find your joomla directory. Can you look in your server setting(provider account or linux setting) if the alias are correct ?
The 500 error seems to come from apache not from joomla.

Tee shot

  • Beginner
  • *
  • Posts: 39
Re: Error 500!
« Reply #8 on: September 15, 2011, 15:45:05 pm »
That's all for now :

Quote
[14-Sep-2011 14:31:13] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[14-Sep-2011 14:31:15] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[14-Sep-2011 14:31:23] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:32:08] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:32:18] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:32:34] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:33:08] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:33:11] PHP Fatal error:  Cannot access protected property VirtueMartViewCart::$_name in /home/teeshotw/public_html/pessacnatsynchro/libraries/joomla/plugin/plugin.php on line 102
[15-Sep-2011 13:35:56] PHP Fatal error:  Call to a member function getProduct() on a non-object in /home/teeshotw/public_html/pessacnatsynchro/components/com_virtuemart/views/productdetails/view.html.php on line 79

since nothing

YOu can try to rename the folder mod_virtuemart_cart (add a simple - for eg.) : but it made ​​no difference
.htaccess  : but it made ​​no difference

directory called synchropessac, I'll look and ask the host to check

thank

Tee shot

  • Beginner
  • *
  • Posts: 39
Re: Error 500!
« Reply #9 on: September 15, 2011, 16:06:15 pm »
Oooouuuuufffffff save !!!

I found, it incomprehensible, the directory was pessacnatsynchro chmod to 777, 755 and I put it back. How can a directory chmod change alone? I had no ftp connection in progress and I was in the admin about to upload a image on article virtuemart.

thank you for helping me! I was a little panicked

Tee shot

  • Beginner
  • *
  • Posts: 39
Re: [resolved]Error 500!
« Reply #10 on: September 15, 2011, 17:25:08 pm »
I just do the same manipulation by choosing to replace the image and my site
was again 500 error, I had to reset the chmod to 755, a bug?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3894
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: [bug or problem ?]Error 500!
« Reply #11 on: September 15, 2011, 17:26:02 pm »
Do you use FTP mod ?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3894
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: [bug or problem ?]Error 500!
« Reply #12 on: September 15, 2011, 17:27:57 pm »
Can you test same upload, directly with Joomla?

Tee shot

  • Beginner
  • *
  • Posts: 39
Re: [bug or problem ?]Error 500!
« Reply #13 on: September 15, 2011, 17:28:13 pm »
not just select the administration to replace an image, back in the admin:

File /home/teeshotw/public_html/pessacnatsynchro/images/stories/virtuemart/product/resized/maillot_front.JPG uploaded
File could not be deleted
Échec de la suppression de pessacnatsynchro
Product successfully saved

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3894
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: [bug or problem ?]Error 500!
« Reply #14 on: September 15, 2011, 17:32:50 pm »
Tee shot.

Peut tu faire le teste de transfert avec joomla pour voir si le bug provient bien de virtuemart ?
Et vérifier si tu as activé le mod FTP sur ton site.

Merci