dashboard become white when I add mailup in magento 1.7.1 - php

When I add mailup in magento, I receive the following error message on the dashboard :
Class 'MailUp_MailUpSync_Helper_Data' not found

Have you looked in app/code/local/MailUp/MailUpSync/Helper/ or app/code/community/MailUp/MailUpSync/Helper/ and see if the Data.php class file is there?
The extension needs that class and seems to be the reported error.
If it's not there, go through the extension and place all the files in their correct folders again.

Related

Magento theme not working

I have purchased a theme from themeforest and I downloaded the zip file. Then I extracted it according to the documentation along with the zip file. Then I added "app, js, media, skin to the correspondent folders".
Compilation mode is disabled (default). Then I went to admin panel and cleared cache, but when I opened my frontend it shows me an error saying:
Fatal error: Class 'Mage_Jollyanytheme_Helper_Data' not found in C:\wamp\www\magento\app\Mage.php on line 547
I have googled it and referred several questions such as:
Magento Helper Class Not Found Error
Magento : Fatal error: Class 'Mage_Giftcards_Helper_Data' not found in ...../app/Mage.php on line 546
But I could not reveal any useful information from those questions.
How can I sort this out?
Check that in your app/code/local/Jollyanytheme/Helper/Data.php is exists with following code
class Mage_Jollyanytheme_Helper_Data extends Mage_Core_Helper_Abstract
{
}
If not then add it.
I have solved it, I needed to add two file directories that were in different folders. Means in first step I need to install app,js,media,skin etc, and in second step I need to install etc modules also. Thanks guys.

Creating custom error page in Symfony 2.5

I am working with Symfony 2.5.3 and I am trying to create the custom error page so for example if someone lands on a page or try to access a page that does not exist the 404 error message should appear within the theme of the site.
I understand that default 404 error page sits inside the TwigBundle that comes with symfony and looking at some other answers on this site people are suggesting that in order to have the custom error page I need to copy them in directory ROOT app/Resources/TwigBundle/views/Exception so I copied over the error.html.twig and even created error404.html.twig but this does not work. I also looked into this solution but still no luck.
I tried to access my development site via http://127.0.0.1:8000/app.php/services to check may be in production i will see the correct template but I dont, please note that i have cleared the cache before accessing http://127.0.0.1:8000/app.php/services and I still see the default error template that comes with Symfony
I will really appreciate any help on this.
First double check this :
Check if you're custom error template is in app/Resources/TwigBundle/views/Exception folder
Then double check the name of you're custom error template if it is error.html.twig OR/AND error404.html.twig
Then create the custom error/template that you want users to see
You can see the custom error/page when you view the website via app.php which is a production environment.
Beetween each check
rm -rf app/cache/*
It should works now ;)
Another way to easily test your custom error template in dev mode is to use instead WebfactoryExceptionsBundle who provide a test controller for displaying your custom error page even when kernel.debug is set to true.

Upgrade 2.5 joomla to joomla 3.0 component not found error

I have problem on error loading component after login the administrator page.
Error Messages:
Warning
Error loading component: , Component not found
Error loading component: {"admin_style":"","admin_language":"","language":"","editor":"","helpsite":"","timezone":""}, Component not found
Error loading component: {"admin_style":"","admin_language":"","language":"","editor":"","helpsite":"","timezone":""}, Component not found
Joomla 3.0 admin 404 component not found error
Go to administrator/components/componentname
In that you will find file admin.componentname.php
rename that file to componentname.php (remove admin.)
That’s it error will be resolved, but for compatibility you need to make changes as per the requirements.
It is obvious that some components do not look like installed properly. So you'd better check what is not installed:
Assuming you can see administration panel on your screen,
Open Extensions Manager
Click on 'Discover' tab-link - If there is nothing listed, click on 'Discover' button above
Try to find some components that you think might be missing or should be existing but not. For example Smart search, User Login etc.

Prestashop Product page error

I need help I cant find any information about this error. even in Prestashop forum
I copied my live site and transfer it to my local server..
Configurations are now OK but when I click on any product at the front-end.
I received the below error
Fatal error: Class 'ObjectModel' not found in F:\xampp2\htdocs\checkedentertainment\product.php on line 32
When I checked the product on the backend the product is still in the products and all are their smoothly.
Any ideas?
What the error says is that the class ObjectModel is missing. It couldn't be loaded. Many of the core classes in PrestaShop inherits from the ObjectModel so it is cruicial that it exists.
Please check your classes folder and make sure all your classes are there. There should be an ObjectModel.php file in the classes directory, if not, make sure to put it there!

Including a php file in Joomla! 1.5 that calls another php file

I would like to include a PHP program into a Joomla! article, this program calls different PHP files that are used to display what I want, I have tried to install different Plugins such as Jumi, directPHP and others, but I keep getting the following error:
Application raised an exception class EDatabaseError with message 'Cannot connect to database server:mysql error: [0: Connection error to server '' with user ''] in CONNECT(, '', '**', )
'
The program runs fine Standalone, however it does not work when I'm running it on Joomla.
The connection parameters are obtained from an include "config.php" but it seems that they won't get the includes from the included PHP file.
Also when I try to include a menu I have made, which works standalone, redirects me to the index.php of Joomla! root dir.
Thanks.
I've done things similar to this, but have had to install a couple of extensions to get them to work.
First, i use the jce WYSIWYG.
then installed place anywhere (which lets you place modules inside articles)
create a new module, type=Custom HTML
code your php there...
I know this isn't exactly what you're describing, but it's the closest i've come in my experience.
If it doesn't work right away, be sure to check for the settings withing the JCE WYSIWYG so it's not breaking your php.
hope this helps!
Try to use 'Flexi Custom Code' extension is a good one
check it: http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/custom-code-in-modules/15251
Its a module extension which you can use with 'module anywhere' to place in the 'content area'(article). For calling different php file you can use the php include or required once code
Please feel free to ask if any doubts are there....implementing this

Categories