News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Issue uploading to 2.0.24b

Started by orthotes, November 22, 2013, 00:20:51 AM

Previous topic - Next topic

orthotes

Today I've made the upload from 2.0.24a to 2.0.24b and I've got this issue: everything seems to work on Joomla, and in the Virtuemart frontend too. But when I try to go into the backend of Virtuemart (com_virtuemart) nothing appears and the page remains blank. Maybe a conflict with the template? I don't think, because, as stated, the shop runs well. The complete message is: http://www.orthotes.com/store/administrator/index.php?option=com_virtuemart&task=disableDangerousTools&token=

Untill now I've never had any sort of problem uploading Virtuemart.

Any ideas?


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

orthotes

Yes, I've tried but with no success.
Could be the problem related to the php.ini file on my server? I've noticed my provider has the "php_value max_execution_time" set to 30 (instead 300) and the "php_value memory_limit" set to 48M (instead 128M).


GJC Web Design

If it is a memory issue your first port of call is your host -- all white screen errors have to be logged somewhere..
ask your host .. then you will know what the problem is..

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

orthotes

Log error reports stuff such that:

[Fri Nov 22 08:53:38 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Fatal error: Class 'SimplePie' not found in /home/ubpnbeq2/domains/orthotes.com/public_html/store/administrator/components/com_virtuemart/helpers/shopfunctions.php on line 832, referer: http://www.orthotes.com/store/administrator/index.php?option=com_installer&view=install
[Fri Nov 22 09:00:05 2013] [warn] [client 66.249.73.111] mod_fcgid: stderr: PHP Deprecated: Function eregi() is deprecated in /home/ubpnbeq2/domains/orthotes.com/public_html/editrice/templates/addaman/suckerfish.php on line 65
[Fri Nov 22 09:01:10 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Warning: mysql_close(): 29 is not a valid MySQL-Link resource in /home/ubpnbeq2/domains/orthotes.com/public_html/store/installation/framework/database/driver/mysql.php on line 117, referer: http://www.orthotes.com/store/installation/index.php?view=database
[Fri Nov 22 09:01:14 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Warning: mysql_close(): 28 is not a valid MySQL-Link resource in /home/ubpnbeq2/domains/orthotes.com/public_html/store/installation/framework/database/driver/mysql.php on line 117, referer: http://www.orthotes.com/store/installation/index.php?view=database
[Fri Nov 22 09:01:18 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Warning: mysql_close(): 28 is not a valid MySQL-Link resource in /home/ubpnbeq2/domains/orthotes.com/public_html/store/installation/framework/database/driver/mysql.php on line 117, referer: http://www.orthotes.com/store/installation/index.php?view=database
[Fri Nov 22 09:01:21 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Warning: mysql_close(): 28 is not a valid MySQL-Link resource in /home/ubpnbeq2/domains/orthotes.com/public_html/store/installation/framework/database/driver/mysql.php on line 117, referer: http://www.orthotes.com/store/installation/index.php?view=database
[Fri Nov 22 09:01:26 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Fatal error: Call to a member function getCharset() on a non-object in /home/ubpnbeq2/domains/orthotes.com/public_html/store/installation/framework/application/application.php on line 297, referer: http://www.orthotes.com/store/installation/index.php?view=setup
[Fri Nov 22 09:03:17 2013] [warn] [client 66.249.73.111] mod_fcgid: stderr: PHP Deprecated: Function eregi() is deprecated in /home/ubpnbeq2/domains/orthotes.com/public_html/editrice/templates/addaman/suckerfish.php on line 65
[Fri Nov 22 09:03:54 2013] [error] [client 84.220.52.67] File does not exist: /home/ubpnbeq2/domains/orthotes.com/public_html/store/administrator/components/com_virtuemart_allinone/liveupdate, referer: http://www.orthotes.com/store/administrator/index.php?option=com_virtuemart_allinone
[Fri Nov 22 09:03:54 2013] [error] [client 84.220.52.67] File does not exist: /home/ubpnbeq2/domains/orthotes.com/public_html/404.shtml, referer: http://www.orthotes.com/store/administrator/index.php?option=com_virtuemart_allinone

I've tried all: clean cache, stop Akeeba core, install from joomla extension manager, but nothing. What could be?

GJC Web Design

this is what is stopping the vm admin

[Fri Nov 22 08:53:38 2013] [warn] [client 84.220.52.67] mod_fcgid: stderr: PHP Fatal error: Class 'SimplePie' not found in /home/ubpnbeq2/domains/orthotes.com/public_html/store/administrator/components/com_virtuemart/helpers/shopfunctions.php on line 832, referer: http://www.orthotes.com/store/administrator/index.php?option=com_installer&view=install

static public function getRssFeed ($rssURL,$max) {
      jimport('simplepie.simplepie');
      $rssFeed = new SimplePie($rssURL);

the SimplePie (it's a rss library class) isn't being loaded..

what Joomla version are you using?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

orthotes

Joomla! version is: 2.5.16
PHP Version is: 5.3.16

GJC Web Design

is that error repeatable and is there a /libraries/simplepie/simplepie.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

GJC Web Design

#8
um - no it's not  that starts at 872

@version $Id: shopfunctions.php 6559 2012-10-18 13:22:30Z

this is a new function as far as I can see from version 2.0.24a

it is not there in 2.0.20

from line 830

static public function getRssFeed ($rssURL,$max) {
jimport('simplepie.simplepie');
$rssFeed = new SimplePie($rssURL);

$count = $rssFeed->get_item_quantity();
$limit=min($max,$count);
for ($i = 0; $i < $limit; $i++) {
$feed = new StdClass();
$item = $rssFeed->get_item($i);
$feed->link = $item->get_link();
$feed->title = $item->get_title();
$feed->description = $item->get_description();
$feeds[] = $feed;
}

return $feeds;
}
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

orthotes

sorry, you were right, the code is exactly that you've quoted.

However my problem persists

GJC Web Design

Quoteis that error repeatable and is there a /libraries/simplepie/simplepie.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

orthotes

#11
as file I've only a simplepie.xml in administrator/manifest/libraries/

no other libraries, no simplepie.php

GJC Web Design

no - /libraries/simplepie/simplepie.php  in the root of your joomla

this is being  called by - jimport('simplepie.simplepie');

if it's not there then theres your error...

PHP Fatal error: Class 'SimplePie' not found in /home/ubpnbeq2/domains/orthotes.com/public_html/store/administrator/components/com_virtuemart/helpers/shopfunctions.php on line 832
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

orthotes

Actually I've re-uploaded the simplepie library from the same Joomla! version and now everything works and the update to virtuemart has been successfully accomplished!

Many thanks for your time. I mark this thread as solved.

In any case I can't explain to myself why and where I missed the simplepie library.


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation