Skip to main content

Questions tagged [mage-shell]

0 votes
1 answer
54 views

I have a strange issue where no errors are shown or logged if it occurs beyond the shell script. I have a Magento shell script (... extends Mage_Shell_Abstract), which serves as an entry point for a ...
laketuna's user avatar
  • 6,850
1 vote
1 answer
291 views

in shell directory is file myscript.php with code <?php require_once 'abstract.php'; class MyModule_Shell_Myscript extends Mage_Shell_Abstract { protected $_argname = array(); public ...
omelandr's user avatar
  • 1,267
1 vote
1 answer
457 views

I mean, what's the right / best approach to write shell scripts, as the ones in Magento1 /shell folder?
Raul Sanchez's user avatar
  • 2,664
1 vote
1 answer
310 views

My block is not calling in shell script. <?php ini_set('display_errors', 1); require_once 'abstract.php'; class Mage_Shell_ReportMail extends Mage_Shell_Abstract{ public function run(){ ...
Murtuza Zabuawala's user avatar
1 vote
1 answer
136 views

I would like to move all files that are older than 24 hours. Currently I'm just deleting them. When I'm in the shell folder and I try to run the script in terminal: php clean_fc_export.php i get the ...
Singleton's user avatar
2 votes
0 answers
46 views

My script currently works for all stores except the store it's pulling from. I want to pull all reviews from my default store / main store and only push the reviews to my new store with a websiteId = ...
thismethod's user avatar
1 vote
2 answers
3k views

I have a new store view and i've updated all the products using the magento admin: Manage Products > Select all > Update Attributes and then selecting the new store. Now that all my products are ...
thismethod's user avatar
1 vote
1 answer
65 views

I would appreciate help on this, I'm having trouble bringing these two together. I am basically familiar with the mysql upgrade process in magento. In a folder's etc/config.xml file you update the ...
Oliver Williams's user avatar
1 vote
1 answer
4k views

I'm attempting to create a custom shell script that will extract a zip file in my media/tmp directory. I've created a labeler.php file in the shell directory. It extends Mage_Shell_Abstract and run()...
Jim of the Stone Age's user avatar
0 votes
1 answer
404 views

If I run the ./PATCH_SUPEE-6788_CE_1.7.0.2_v1-2015-10-27-12-00-16.sh no new files are created. For example app/code/core/Mage/Admin/Model/Resource/Block.php in the patch but does not exist after the ...
PiTheNumber's user avatar
  • 3,234
1 vote
2 answers
182 views

I want add new theme with magento shell script. I think it's possible with direct access to MySQL 'design_change' table. But I don't know how to do it. Any ideas?
Dima Portenko's user avatar
2 votes
2 answers
2k views

Is there any way how I can automatically check for available Magento extension updates on the CLI? I thought about the mage tool as well as about n98-magerun, but both options do not seem to work. ...
Simon's user avatar
  • 5,746
1 vote
1 answer
211 views

I'm creating a module that sends data to a custom API when creating an order and/or customer and when one of them changes. It also holds a magento shell script to send initial data. The contents of ...
MegaWubs's user avatar
  • 111
1 vote
2 answers
1k views

I was curious if there is a way to export sales reports to a CSV via the command line. I can handle the cron setup to make it run daily, I'm just curious how you would go about doing this in the shell....
sparecycle's user avatar
  • 1,479
1 vote
1 answer
883 views

So, I just ran into this and scratched my head quite a few times and since the Magento bug tracker is dead, let's do it here. Symptom: Class 'MyNameSpace_MyModule_Helper_Data' not found in /var/www/...
user avatar