magento PHP Fatal error: Class 'Varien_Data_Tree_Node_Collection' - magento

after moving my mangento installation fromm mywebsite.com/mangento To mywebsite.com
I get an error message:\
my magneto is displaying "Site Down For Maintenance" with white screen
I get an error in my error_log file
PHP Fatal error: Class 'Varien_Data_Tree_Node_Collection' not found in public_html/lib/Varien/Data/Tree.php on line 51

Varien_Data_Tree_Node_Collection make sure this class file collection.php exist is in folder Varien/Data/Tree/Node/Collection.php
Also check its permission.
There is a probability that during upload/Move some files were not uploaded successfully

Related

Magento Admin Panel error message: Fatal error: spl_autoload() [<a href='function.spl-autoload'>function.spl-autoload</a>]:

When attempting to login to the Magento admin panel, I am faced with the error message below. I could login fine yesterday and made no changes, so cannot understand why an error has occurred and am not sure how to resolve this one.
Fatal error: spl_autoload() [function.spl-autoload]: Class
Zend_Log_Exception could not be loaded in
/homepages/34/d502468010/htdocs/lib/Zend/Log/Writer/Stream.php on line
135

joomla 3.4 transfer to other server

I have transferred Joomla 3.4 (from a cPanel backup) to Plesk. The site is 8GB.
I have changed the permissions for folders and files. I can login normally to the /administrator
At the front end I get this error message -
Notice: Use of undefined constant JPATH_BASE - assumed 'JPATH_BASE' in /var/www/vhosts/XXXXX/httpdocs/defines.php on line 12 Notice: Use of undefined constant JPATH_BASE - assumed 'JPATH_BASE' in /var/www/vhosts/XXXXX/httpdocs/defines.php on line 22 Notice: Use of undefined constant JPATH_BASE - assumed 'JPATH_BASE' in /var/www/vhosts/XXXXX/httpdocs/defines.php on line 23 Warning: require_once(/var/www/vhosts/XXXXX/httpdocs/includes/defines.php): failed to open stream: No such file or directory in /var/www/vhosts/XXXXX/httpdocs/index.php on line 31 Fatal error: require_once(): Failed opening required '/var/www/vhosts/XXXXX/httpdocs/includes/defines.php' (include_path='.:') in /var/www/vhosts/XXXXX/httpdocs/index.php on line 31
Also I have one other Joomla site to the same server, which loaded as expected without an error.
I need help in figuring out how to fix this error.
are the account constants in configuration.php file updated to a new server? additionally check your php.ini file if you have one.
It seems "defines.php" file was moved to root path.
It should be in "\includes" path.
https://github.com/joomla/joomla-cms/tree/staging/includes
Move(Crop/Paste) it into "\includes" folder.

Magento Autoload.php cannot find other PHP scripts

I keep getting this kind of error since I moved Magento from my server to clients server:
exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'NotEmpty'' in /lib/Zend/Validate.php:244
Caused by:
Warning: include(NotEmpty.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 93
This one I get when I try to finish my order.
I got one similar yesterday when trying to create an attribute.
Warning: include(StringLength.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /lib/Varien/Autoload.php on line 93
I checked for permissions and all the files referred by the error have 777 and all the folders from root to those files have also 777.
Any thoughts?
EDIT:
I followed the hint from the comments and I managed to find the path of the file causing the error. The NotEmpty.php is called from the root of Magento though it should have been in /lib/Zend/Validate/.
Any idea how to get the right path?

Blank pages at joomla backend,error 404,not saving changes

Blank article page.
Errors found listed below .I'm a beginner with joomla I'm lost on a project now .at First was error 404 after update to joomla 2.5.9 ,now i cant even access ,the articles.I'm getting blank pages from admin pages of the backend.Is dere a way i can copy all the articles out from the folder directory of gantry/joomla. If yes I can start building the website all over again. please help anybody Deadline for site to go live is tommorrow.,
Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with JCacheController::store($data, $id, $group = NULL) in C:\xampp\htdocs\Gantry417\libraries\joomla\cache\controller\page.php on line 199
Strict Standards: Only variab,les should be assigned by reference in C:\xampp\htdocs\Gantry417\plugins\system\rokgallery\rokgallery.php on line 22
Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\Gantry417\plugins\system\rokgallery\rokgallery.php on line 23
Warning: include_once(C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 330
Warning: include_once(): Failed opening 'C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 330
Fatal error: Class 'ContentHelperRoute' not found in C:\xampp\htdocs\Gantry417\plugins\finder\content\content.php on line 273
Warning: require_once(C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Gantry417\administrator\templates\hathor\html\com_content\articles\modal.php on line 17
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\Gantry417/components/com_content/helpers/route.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Gantry417\administrator\templates\hathor\html\com_content\articles\modal.php on line 17
Check the permission to the route.php file.
Make sure the route.php file exists on the mentioned path.
The route.php file is not there / is not readable.
download the update package 2.5.9 http://joomlacode.org/gf/download/frsrelease/17967/78436/Joomla_2.5.x_to_2.5.9-Stable-Patch_Package.zip and explode it over your current site;
clear the cache/* folder
re-assign permissions (chown -R user:group *)
you should now be able to access administrator.
If you can also access the frontend, you're done.
Else assign one of the default templates (i.e. beez) and you should be able to see the website
If the latter works, then most likely you have a wrong gantry, re-download the right version of the template for your website.
If it doesn't, simply reinstall it there may be something wrong.

Mageno : PHP Fatal error: Class 'Mage' not found in MAGENTODIR/shell/abstract.php on line 79

I normally do the reindexing of "catalog_url" by entering into "shell" directory through SSH & using "indexer.php" But suddenly yesterday I tried to implement the process but getting error. Simply the following command
php -f indexer.php info
is showing the error:
PHP Fatal error: Class 'Mage' not found in MAGENTODIR/shell/abstract.php on line 79
I have changed the "Use flat catalog category" & "Use flat catalog product" to "No" and disabled the "Mage_Log" module output before trying yesterday's reindexing, as far as I can remember. Its Magento 1.7
Any idea or help would be appreciated. Thank You
Found the solution. It was actually occurred because of APC. For testing, I disabled the APC by editing the ini here:
/etc/php5/apache2/conf.d/apc.ini
by doing ";"
;extension=apc.so
Then tried the indexer from inside the magento shell
php -f indexer.php info
and everything worked properly.

Resources