News:

Looking for documentation? Take a look on our wiki

Main Menu

Product not found after move to php 7.0

Started by yaelkroy, August 28, 2017, 20:34:37 PM

Previous topic - Next topic

yaelkroy

Hello everyone. I moved the to another server and now it gives me 404 - requested product does not exist even if SEF turned off.
http://ididid.ru/
PHP Version   7.0.22
Joomla! Version   Joomla! 3.7.5 Stable
Virtuemart 3.2.4


and yes, all products EXIST. only 8 there and all of them 404
.htaccess is default for joomla as well
if I turn of virtuemart 404 error handling the product page gave error displaying error page and Error displaying the error page: Call to a member function getCode() on null: Not found

example of url http://ididid.ru/component/virtuemart/view/productdetails/virtuemart_product_id/316/virtuemart_category_id/14

No errors I  server log
256 Mb memory limit


Vm debug output
Configuration Saved
1 vmdebug PHP 5.4
2 vmdebug Show All Errors
3 vmdebug 2 Languages, default shoplanguage (VmConfig::$jDefLang): ru_ru ru-RU Fallback language (VmConfig::$defaultLang): ru_ru Selected VM language (VmConfig::$vmlang): en_gb en-GB SEF: en
4 vmdebug vmTime: time to load config: 0.00310301780700684
5 vmdebug Start used Ram 2M
6 vmdebug loaded 0en-GBcom_virtuemart /home/bitrix/ext_www/ididid.ru/administrator/components/com_virtuemart en-GB
7 vmdebug loaded 0en-GBcom_virtuemart_config /home/bitrix/ext_www/ididid.ru/administrator/components/com_virtuemart en-GB
8 vmdebug loaded 0en-GBcom_virtuemart.sys /home/bitrix/ext_www/ididid.ru/administrator/components/com_virtuemart en-GB
9 vmdebug loaded 0en-GBcom_virtuemart_help /home/bitrix/ext_www/ididid.ru/administrator/components/com_virtuemart en-GB
10 vmdebug loaded 1en-GBcom_virtuemart_orders /home/bitrix/ext_www/ididid.ru/components/com_virtuemart en-GB
11 vmdebug loaded 1en-GBcom_virtuemart_shoppers /home/bitrix/ext_www/ididid.ru/components/com_virtuemart en-GB
12 vmdebug getVendorId manager
13 vmdebug Active Mainvendor
14 vmdebug Set 791 to 1
15 vmdebug My Memory Limit in Bytes 268435456
16 vmdebug vmTime: "VirtueMartControllerConfig" Finished task config: 0.12647008895874
17 vmdebug End used Ram 2M


Fatal catcher output
JApplicationCms -> execute() @ /home/bitrix/ext_www/ididid.ru/index.php:50
JApplicationSite -> doExecute() @ /home/bitrix/ext_www/ididid.ru/libraries/cms/application/cms.php:265
JApplicationSite -> dispatch() @ /home/bitrix/ext_www/ididid.ru/libraries/cms/application/site.php:230
JComponentHelper :: renderComponent() @ /home/bitrix/ext_www/ididid.ru/libraries/cms/application/site.php:191
JComponentHelper :: executeComponent() @ /home/bitrix/ext_www/ididid.ru/libraries/cms/component/helper.php:364
require_once() @ /home/bitrix/ext_www/ididid.ru/libraries/cms/component/helper.php:389
JControllerLegacy -> execute() @ /home/bitrix/ext_www/ididid.ru/components/com_virtuemart/virtuemart.php:125
VirtueMartControllerProductdetails -> display() @ /home/bitrix/ext_www/ididid.ru/libraries/legacy/controller/legacy.php:709
VirtueMartViewProductdetails -> display() @ /home/bitrix/ext_www/ididid.ru/components/com_virtuemart/controllers/productdetails.php:55
JError :: raise() @ /home/bitrix/ext_www/ididid.ru/components/com_virtuemart/views/productdetails/view.html.php:113
JError :: throwError() @ /home/bitrix/ext_www/ididid.ru/libraries/legacy/error/error.php:202
JError :: handleCallback() @ /home/bitrix/ext_www/ididid.ru/libraries/legacy/error/error.php:241
JError :: customErrorPage() @ /home/bitrix/ext_www/ididid.ru/libraries/legacy/error/error.php:780
JErrorPage :: render() @ /home/bitrix/ext_www/ididid.ru/libraries/legacy/error/error.php:797
JDocumentError -> render() @ /home/bitrix/ext_www/ididid.ru/libraries/cms/error/page.php:110
JDocumentError -> _loadTemplate() @ /home/bitrix/ext_www/ididid.ru/libraries/joomla/document/error.php:171
require_once() @ /home/bitrix/ext_www/ididid.ru/libraries/joomla/document/error.php:200
JV -> render() @ /home/bitrix/ext_www/ididid.ru/templates/id-safari/error.php:18
JVFrameworkHelperEvent -> fireEvent() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/framework.php:95
JV :: call() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/helpers/event.php:68
JVFrameworkExtensionLayout -> beforeRender() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/framework.php:326
JVFrameworkHelperBlock -> count() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/extensions/layout/layout.php:28
JVFrameworkHelperPosition -> count() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/helpers/block.php:62
JVFrameworkHelperPosition -> getModules() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/helpers/position.php:105
JVFrameworkHelperEvent -> fireEvent() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/helpers/position.php:165
JV :: call() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/helpers/event.php:68
JVFrameworkExtensionModule_assignment -> onGetModules() @ /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/libraries/framework.php:326
JVFrameworkExtensionModule_assignment -> assigmentCheck() @


Any help is appreciated highly

yaelkroy

found a coupole errors. Can it be the reason of WSOD?

8 Undefined property: stdClass::$enable in file: /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/extensions/module_assignment/module_assignment.php line: 81

timestamp: 2017-08-29T01:18:55+00:00
2 syntax error, unexpected '(' in /home/bitrix/ext_www/ididid.ru/administrator/language/en-GB/en-GB.plg_system_jvvmhelper.ini on line 5
in file: /home/bitrix/ext_www/ididid.ru/libraries/joomla/language/language.php line: 841

yaelkroy

cought in the server log

[Tue Aug 29 16:32:26.116003 2017] [:error] [pid 2653] [client 217.10.34.160:50282] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemJVVMHelper has a deprecated constructor in /home/bitrix/ext_www/ididid.ru/plugins/system/jvvmhelper/jvvmhelper.php on line 18, referer: http://ididid.ru/

Studio 42

For PHP Deprecated constructors rename function having same name as class to function __construct line 18 in your file /home/bitrix/ext_www/ididid.ru/plugins/system/jvvmhelper/jvvmhelper.php

in /home/bitrix/ext_www/ididid.ru/administrator/language/en-GB/en-GB.plg_system_jvvmhelper.ini on line 5 check the string, certainly an invalid char.

Undefined property: stdClass::$enable in file: /home/bitrix/ext_www/ididid.ru/plugins/system/jvframework/framework/extensions/module_assignment/module_assignment.php line: 81
Add inside class definition a line for $enable Eg.
protected $enable = false;
Or
public $enable = false;
But all this errors should not stop PHP to work.