Категории |
В админке при обновлении данных покупателей выдает ошибку.Warning: require_once(/usr/home/hosting/caesar/htdocs2//usr/home/hosting/caesar/htdocs2/admin/includes/classes/vat_validation.php) : failed to open stream: No such file or directory in /usr/home/hosting/caesar/htdocs2/admin/customers.php on line 160 У остальных все работает? хм. У меня обновление данных проходит нормально. Попробовать найти пути и исправить? У других такой проблемы нет? Господа, программисты! Помогите советом. Попробуйте скопировать includes/classes/vat_validation.php в admin/includes/classes/vat_validation.php в файле admin\customers.php на строчке 160 require_once( get_path('class').'vat_validation.php'); ? если да - внизу файла includes\paths.php до ?> попробуйте добавить код print_r( $PATH); и скопируйте сюда результат, который выведется вверху страницы админки или магазина должно получится что то вот такое Array ( => Array ( => K:/home/shopos/www/2.5.3/upload/ => http://shopos ) => Array ( => K:/home/shopos/www/2.5.3/upload/ => http://shopos/2.5.3/upload/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/themes/ => http://shopos/2.5.3/upload/themes/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/langs/ => http://shopos/2.5.3/upload/langs/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/cache/ => http://shopos/2.5.3/upload/cache/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/ => http://shopos/2.5.3/upload/admin/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/modules/ => http://shopos/2.5.3/upload/modules/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/modules/payment/ => http://shopos/2.5.3/upload/modules/payment/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/media/icons/ => http://shopos/2.5.3/upload/media/icons/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/jscript/ => http://shopos/2.5.3/upload/jscript/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/media/pub/ => http://shopos/2.5.3/upload/media/pub/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/images/ => http://shopos/2.5.3/upload/images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/images/ => http://shopos/2.5.3/upload/images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/images/product_images/original_images/ => http://shopos/2.5.3/upload/images/product_images/original_images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/images/product_images/thumbnail_images/ => http://shopos/2.5.3/upload/images/product_images/thumbnail_images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/images/product_images/info_images/ => http://shopos/2.5.3/upload/images/product_images/info_images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/images/product_images/popup_images/ => http://shopos/2.5.3/upload/images/product_images/popup_images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/modules/plugins/ => http://shopos/2.5.3/upload/modules/plugins/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/includes/lib/ => http://shopos/2.5.3/upload/includes/lib/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/includes/classes/ => http://shopos/2.5.3/upload/includes/classes/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/includes/functions/ => http://shopos/2.5.3/upload/includes/functions/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/includes/ => http://shopos/2.5.3/upload/includes/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/includes/functions/ => http://shopos/2.5.3/upload/includes/functions/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/includes/pages/ => http://shopos/2.5.3/upload/admin/includes/pages/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/includes/ => http://shopos/2.5.3/upload/admin/includes/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/includes/classes/ => http://shopos/2.5.3/upload/admin/includes/classes/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/lang/ => http://shopos/2.5.3/upload/admin/lang/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/includes/modules/ => http://shopos/2.5.3/upload/admin/includes/modules/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/images/ => http://shopos/2.5.3/upload/admin/images/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/includes/functions/ => http://shopos/2.5.3/upload/admin/includes/functions/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/images/icons/ => http://shopos/2.5.3/upload/admin/images/icons/ ) => Array ( => K:/home/shopos/www/2.5.3/upload/admin/themes/ => http://shopos/2.5.3/upload/admin/themes/ ) ) если там встречаются вот такие двойные пути includes\paths.php замените define('DIR', $DIR); на define('DIR', 'Z:/home/caesar2.ru/www/'); Огромное человеческое спасибо. Я хоть разобрался как создаются пути )) |
|