PhpPowerpoint fatal error - php

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??

Related

PHP Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in

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

remove "Uncaught exception on GetStream"

when the network is off-line, GetStream triggers an "Uncaught exception" error with a lot of detailed information on the code paths and structure.
How do I setup gestream so that no error message is printed in production?
Uncaught exception 'GetStream\Stream\StreamFeedException' with message 'user_id can only contain alphanumeric characters'
This is the full error:
Fatal error: Uncaught exception 'GuzzleHttp\Exception\ConnectException'
with message 'cURL error 28: Operation timed out after 0 milliseconds with 0
out of 0 bytes received
(see http://curl.haxx.se/libcurl/c/libcurl-errors.html)'
in /Sites/home-local/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
Stack trace: #0 /Sites/homelocal/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150):
GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /Siteshome-local/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103):
GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler),
Object(GuzzleHttp\Handler\EasyHandle),Object(GuzzleHttp\Handler\CurlFactory))
#2 /Sites/home-local/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 186

PHP Error while pulling excel report

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

simpleexcel : I get an error when I changed the host

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

Fatal error: Uncaught exception 'Mage_Core_Exception'

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?

Categories