I get the following error while trying to pull the excel report. I remember the error occurred previously, not sure if increasing the PHP memory fixed it. Please Suggest.
Fatal error: Uncaught exception 'PHPExcel_Exception' with message 'Worksheet!W529 -> Formula
Error: Operator '-' has no operands' in C:\xampp\htdocs\asia\Classes\PHPExcel\Cell.php:307
Stack trace:
#0 C:\xampp\htdocs\asia\Classes\PHPExcel\Writer\Excel5\Worksheet.php(460): PHPExcel_Cell->getCalculatedValue()
#1 C:\xampp\htdocs\asia\Classes\PHPExcel\Writer\Excel5.php(194): PHPExcel_Writer_Excel5_Worksheet->close()
#2 C:\xampp\htdocs\asia\xlsheet.php(201): PHPExcel_Writer_Excel5->save('DailyTrack14_13...')
#3 {main} thrown in C:\xampp\htdocs\asia\Classes\PHPExcel\Cell.php on line 307
Related
I'm trying to use google_ads_api to generate keywords idea.
I found an error when I execute generateKeywordsIdeas.php file.
PS C:\xampp\htdocs\google_ads_api> php GenerateKeywordIdeas.php
PHP Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67
Stack trace:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {main}
thrown in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php on line 67
Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67
Stack trace:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {main}
thrown in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php on line 67
Here is file structure of my project
Why this error happens..? can anybody explain..?
Sounds like your missing required files from the 'examples' directory? They're excluded from the ZIP when you download the package from github. You can grab them here:
https://downgit.github.io/#/home?url=https://github.com/googleads/google-ads-php/tree/master/examples
Moved the site from one server to another with postgresql database. Db has been connected. Then I used this command:
composer install
While loading the site, yii debugger shows an error
What is more, composer update shows many errors in console:
PHP Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111
Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111
I was in the process of viewing an existing pptx file using the reader of Powerpoint2007 but
i get this fatal error:
Fatal error: Uncaught exception 'Exception' with message 'File ./resources/phppowerpoint_logo.gif not found!' in C:\xampp\PHPPresentation-master\src\PhpPresentation\Shape\Drawing.php:107 Stack trace: #0 C:\xampp\PHPPresentation-master\samples\Sample_Header.php(49): PhpOffice\PhpPresentation\Shape\Drawing->setPath('./resources/php...') #1 C:\xampp\htdocs\sanagumana.php(8): include_once('C:\xampp\PHPPre...') #2 {main} thrown in C:\xampp\PHPPresentation-master\src\PhpPresentation\Shape\Drawing.php on line 107
I already check the resources folder and phppowerpoint_logo.gif is there. What can I do??
Recently I have changed my host. On the previous host, every thing was ok, but now on the new host I get following error..
Please direct me to the host so I can solve this problem ASAP???
Fatal error: Uncaught exception 'Exception' with message 'Document namespace isn't a valid Excel XML 2003 Spreadsheet' in /home/jalali/public_html/admin/SimpleExcel/Parser/XMLParser.php:198
Stack trace:
#0 /home/jalali/public_html/admin/SimpleExcel/Parser/XMLParser.php(305): SimpleExcel\Parser\XMLParser->parseDOM(Object(SimpleXMLElement))
#1 /home/jalali/public_html/admin/#dmin.php(28): SimpleExcel\Parser\XMLParser->loadFile('../archive/1371...')
#2 {main} thrown in /home/jalali/public_html/admin/SimpleExcel/Parser/XMLParser.php on line 198
I have a brand new Magento shop and want to go online but I'm getting this error very often:
Fatal error: Uncaught exception 'Mage_Core_Exception' with message '
is not a directory or not readable by this user' in
/home/pimpjep/public_html/app/Mage.php:594 Stack trace: #0
/home/pimpjep/public_html/app/Mage.php(278): Mage::throwException(' is
not a direc...') #1 /home/pimpjep/public_html/app/Mage.php(752):
Mage::setRoot() #2 /home/pimpjep/public_html/app/Mage.php(692):
Mage::isInstalled() #3 /home/pimpjep/public_html/index.php(89):
Mage::run('pimpjephone') #4 {main} thrown in
/home/pimpjep/public_html/app/Mage.php on line 594
How do I get rid of it?