Fatal error: require_once login Magento - magento

I'm setting up a store with two languages. When I go to login in the default English everything is fine but if I try to login Spanish get the following error:
Fatal error: require_once(): Failed opening required 'app/code/core/Mage/Customer/controllers/AccountController.php' (include_path='C:\xampp\htdocs\app\code\local;C:\xampp\htdocs\app\code\community;C:\xampp\htdocs\app\code\core;C:\xampp\htdocs\lib;.;C:\xampp\php\PEAR') in C:\xampp\htdocs\app\code\local\MageWorkshop\DetailedReview\controllers\Customer\AccountController.php on line 28
Here's line 28:
require_once 'app/code/core/Mage/Customer/controllers/AccountController.php';
The "missing" not found file is there!
Does anyone know how I can fix this? Or is this like a major problem that requires a professional?
The Spanish people will not be able to login.
Thanks

If the directory-path is not absolute then it is assumed to be relative to the ServerRoot location.
Just specify the server root location, your script/module seems to be wrong installed.
define('MAGENTO_LOCATION', '/var/www/vhosts/mysite');
require_once MAGENTO_LOCATION . '/app/code/core/Mage/Customer/controllers/AccountController.php';

Related

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 error after moving website to another server

I just transferred my website to another server by using this guide: http://www.atwix.com/magento/moving-magento-to-another-server/
but when i access the it gives me this error. What does it means? what do i need to do to make it work?
Warning: include(Zend/Log.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/lib/Varien/Autoload.php on line 93
Warning: include() [function.include]: Failed opening 'Zend/Log.php' for inclusion (include_path='/var/www/site/app/code/local:/var/www/site/app/code/community:/var/www/site/app/code/core:/var/www/site/lib:.:/usr/share/php:/usr/share/pear') in /var/www/site/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Zend_Log' not found in /var/www/site/app/code/core/Mage/Core/functions.php on line 247
As far as i can see, it looks like the file in question can't be found at all. What to do is check the directory /www/work/newshop/lib/Zend and make sure the log file is within there. If not, double check your previous server and see if it's there as well. It's possible for you to have just missed it.
If it IS there, make sure permissions are set accordingly. eg; the log.php file should have it's permissions set to 644. (Read and Write for owner, Read for group and read for public)
did you remove the cache folder from Magento After moved your installation?
And wich PHP Version ist installed on the new Server?
Magento have already problem with php5.4 and php5.5 (reference: https://bugs.php.net/bug.php?id=62639)

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.

Tank Auth http://localhost/codeigniter/index.php/auth Error

This is my first time using authentication library. I followed this post to install tank auth. But there is something wrong at http://localhost/codeigniter/index.php/auth when I try to access it. It gives me some lines in the page:
A PHP Error was encountered
Severity: Warning
Message: require_once(phpass-0.1/PasswordHash.php): failed to open
stream: No such file or directory
Filename: libraries/Tank_auth.php
Line Number: 3
I tried to edit the third line of ~/codeigniter/application/libraries/Tank_auth.php and nothing good happened. I'm sure that PasswordHash.php exists in phpass-0.1 directory.
Could anyone help me or shed some light?
The problem is definitely in that the file PasswordHash.php cannot be found in this line of code:
require_once(phpass-0.1/PasswordHash.php)
Confirm the file exists in the location you think it does, and I hope you are using quotes:
require_once('file.php');

CodeIgniter "No input file specified"

I just finished developing a website using codeigniter and in the end the person I was developing for switched from one hosting service to another. Now, when I try to go in the website at first I got a message saying
"No input file specified"
after going through some websites I found out I could try and fix this by using index.php? changing these on the config.php file:
$config['index_page'] = "index.php?";
$config['uri_protocol'] = "QUERY_STRING";
I tried that but now I am getting this message:
A PHP Error was encountered
Severity: Notice
Message: Undefined property:
Login::$session
Filename: controllers/login.php
Line Number: 121
Fatal error: Call to a member function
userdata() on a non-object in
/home/content/34/5024634/html/pdv/application/controllers/login.php
on line 121
on line 121 of controllers/login.php you see this:
if ($this->session->userdata('logged_in') == TRUE)
which works perfectly fine on the old server as well as on localhost. Now, going back to the previous host isn't an option according to my client so I've been stuck with this error for a while now and haven't been able to find any solution, would any of you guys know how to fix this?
The most helpful websites I've checked out are these two:
http://anon83.wordpress.com/2007/12/11/codeigniter-vs-godaddy-problems/
http://codeigniter.com/wiki/Godaddy_Installaton_Tips/
You probably forgot to load your session library
$this->load->library('session'); in your construct or autoload it.

Resources