English Magento Help section

Can somebody explain to me why this is a syntax error?

PHP:
            Exception {
                Mage::getSingleton( 'adminhtml/session' )->addError( $e->getMessage(  ) );

                if (( $model && $model->getId(  ) )) {
                    $this->_redirect( '*/*/edit', array( 'id' => $model->getId(  ) ) );
                    return null;
                }

(( $model && $model->getId( ) )) should be ( $model && $model->getId( ) ) ..
 
use "catch (Exception $e) {" instead of "Exception {"

Please check Для просмотра ссылки Войди или Зарегистрируйся
and let me know the result.

Edit: changes in save and delete action

check now Для просмотра ссылки Войди или Зарегистрируйся
I dont know anything about nulling the modules.

find in whole module
PHP:
parent::(  );
and replace it with
PHP:
parent::__construct();

replace line #15 with
PHP:
public function render(Varien_Object $row) {
and remove line #13 in above mentioned file.

attach your updated file..
doing night duty.

Edit: Did you removed echo ''; from file.


replace line #14 with
PHP:
public function render(Varien_Object $row) {

missing {

clear the cache... bcoz without { script will not parse successfully.
code is coming from cache.
while developing, please disable the cache.

please check again.. flush cache.. logout-login...code is ok..
it worked on my system, very first time even without doing above things.
PHP:
* @ Website  : http://EasyToYou.eu
*
**/

class Websoft_Dpd_Block_Adminhtml_Pricelist_RenderCountry extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
   public function render(Varien_Object $row) {
     $countryCode = trim( $row->getCountry(  ) );
     $countryName = '';
     $countryNameShort = '';
     $i = 11;

     if ($countryCode != '') {

Thank you, I started again following everything you said, and it started working for the price list.

On to the next error

Parse error: syntax error, unexpected '{' in /var/www/html/magento/app/code/community/Websoft/Dpd/controllers/Adminhtml/ConsignController.php on line 39

Для просмотра ссылки Войди или Зарегистрируйся
 
Последнее редактирование модератором:
Hello guys, sorry, something went wrong when I did my last post.

I find and installed Ultimo Theme v1.15.3 (I still can't download the 1.15.4 from this site, I'm "newbie" yet.

So, I'm trying to move "Aditional Info" tab to my right column in the product page.
I did this already:
Для просмотра ссылки Войди или Зарегистрируйся

As I said in the topic above, I moved the xml code from the main to the right column, but it shows me a 404 error.
Someone may help me solve this? Is the last thing I wish to do to put my store online :)

Amazing @ps2chiper !
I'll try to update mine! But first backup all and see if it won't change what I already customized.
Any hint in the problem I posted above?

Updated and still getting the same thing: There was no 404 CMS page configured or found.

I just did as the guy said in my topic in stackexchange:
"in Ultimo >> local.xml link 551 this is attribute table call. cop this to line 487 under <reference name="right">"

Didn't work.

I just need to move the attributes to the right column :/
 
Последнее редактирование модератором:
i found this via google

Для просмотра ссылки Войди или Зарегистрируйся

Let me know if you still need help after upgrading.

Please be patient, I am sure someone more experienced than I will have the solution for you.

@hieveryone do you have more time to help me?
 
Последнее редактирование модератором:
Thanks for the help fellows, but after talking with a friend of mine who work with ecommerce for years, he said to keep away from magento, at least in Brazil.
Too much load times, a lot of annoying bugs (now I discovered that for some reason, my store don't send emails?!) and a case where a cliente of him sold 500 products a month and right after moving to magento, the number fell to 50 products, the reason: slower checkout.
So I'll stay on my prestashop store.

Thanks a lot for your help :)

And good luck on magento.

I'll use a simple shared server, unfortunatelly.
 
Последнее редактирование модератором:
Are you going to use shared server or a vps?

If you go with a VPS hosted in Brazil. You can make magento scream. Especially Magento 2.0. There are still ways to improve magento performance on a shared server. Its about offloading functions like caching and sessions to redis. And setting up a full page cache that is optimized for Redis. And using something like Potato Compressor for css and js optimization.

I went and did some searching. You can probably get a vps in brazil for 100 Real or less per month.

Для просмотра ссылки Войди или Зарегистрируйся
Для просмотра ссылки Войди или Зарегистрируйся
Для просмотра ссылки Войди или Зарегистрируйся
Для просмотра ссылки Войди или Зарегистрируйся
Для просмотра ссылки Войди или Зарегистрируйся
 
Последнее редактирование модератором:
Are you going to use shared server or a vps?

Very useful : can check whether this really anonymous
Для просмотра ссылки Войди или Зарегистрируйся

OUR PARTNER VPN SERVICES:
Для просмотра ссылки Войди или Зарегистрируйся


I'm from Brazil, and im new user, I am learning a lot in the forum. I want to contribute too!

Can someone get me doubt, please.

I want to know how to put a hidden content with posting limit?

Thanks you
 
Последнее редактирование модератором:
Anybody knows a solution to when add whislist items to cart, the items no remove from wishlist?

Thank you
 
Anybody knows a solution to when add whislist items to cart, the items no remove from wishlist?

Thank you

File "\app\code\core\Mage\Wishlist\controllers\IndexController.php" line #518 (community ver 1.9.0.1)
find
PHP:
if ($item->addToCart($cart, true)) {
and replace it with
PHP:
if ($item->addToCart($cart, false)) {

Create custom module and override above mentioned file and make changes.

@Для просмотра ссылки Войди или Зарегистрируйся What I need from the module to begin with. First, I need the syntax errors fixed. Secondly, I need the label PDF generator fixed. Thirdly, I need the post code input modified so it can use ranges.
send me the module and specify errors that needs to be fixed
 
Последнее редактирование модератором:
@Для просмотра ссылки Войди или Зарегистрируйся What I need from the module to begin with. First, I need the syntax errors fixed. Secondly, I need the label PDF generator fixed. Thirdly, I need the post code input modified so it can use ranges.

send me the module and specify errors that needs to be fixed
Its the exact same module as before. But here is another copy. Для просмотра ссылки Войди или Зарегистрируйся

As you use the module, the syntax errors will hit you in the face. But I know you are the right man for the job.
 
Последнее редактирование модератором:
Назад
Сверху