Giter Club home page Giter Club logo

flights-api-project's People

Contributors

glook avatar yanchuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flights-api-project's Issues

CreateListFromArrayLike Error

Hello,

This is not working. I've installed the demo, run composer and every time we go to try and search to return ticket results we get "Looking for tickets, please wait..."

This is the error being generated in console:

vendor.bundle.js:1 TypeError: CreateListFromArrayLike called on non-object
at app.bundle.js:1
at processQueue (vendor.bundle.js:1)
at vendor.bundle.js:1
at Scope.$digest (vendor.bundle.js:1)
at Scope.$apply (vendor.bundle.js:1)
at done (vendor.bundle.js:1)
at completeRequest (vendor.bundle.js:1)
at XMLHttpRequest.xhr.onload (vendor.bundle.js:1) "Possibly unhandled rejection: {}"

Please advise.

Thanks,
gr8rck

Errors loading website

Hi team

I have done all the steps but my site loading with errors
please suggest how to fix :

An Error occurred while handling another error:
Exception: It seems that you are forgot to compile your frontend files with webpack. Check documentation at https://github.com/travelpayouts/flights-api-project in /home/phpnet/public_html/public/tp/travel/components/WebpackAssetBundle.php:65
Stack trace:
#0 /home/phpnet/public_html/public/tp/travel/components/WebpackAssetBundle.php(23): app\components\WebpackAssetBundle->getWebpackAssets()
#1 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/BaseObject.php(109): app\components\WebpackAssetBundle->init()
#2 [internal function]: yii\base\BaseObject->__construct(Array)
#3 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/di/Container.php(376): ReflectionClass->newInstanceArgs(Array)
#4 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('app\assets\AppA...', Array, Array)
#5 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('app\assets\AppA...', Array, Array)
#6 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/AssetManager.php(264): yii\BaseYii::createObject(Array)
#7 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/AssetManager.php(237): yii\web\AssetManager->loadBundle('app\assets\AppA...', Array, true)
#8 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/View.php(286): yii\web\AssetManager->getBundle('app\assets\AppA...')
#9 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/AssetBundle.php(125): yii\web\View->registerAssetBundle('app\assets\AppA...')
#10 /home/phpnet/public_html/public/tp/travel/views/layouts/main.php(10): yii\web\AssetBundle::register(Object(yii\web\View))
#11 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/View.php(348): require('/home/phpnet/pu...')
#12 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/home/phpnet/pu...', Array)
#13 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Controller.php(399): yii\base\View->renderFile('/home/phpnet/pu...', Array, Object(app\controllers\SiteController))
#14 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Controller.php(385): yii\base\Controller->renderContent('<div class="sit...')
#15 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/ErrorAction.php(139): yii\base\Controller->render('error', Array)
#16 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/ErrorAction.php(118): yii\web\ErrorAction->renderHtmlResponse()
#17 [internal function]: yii\web\ErrorAction->run()
#18 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Action.php(94): call_user_func_array(Array, Array)
#19 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\Action->runWithParams(Array)
#20 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('error', Array)
#21 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/ErrorHandler.php(108): yii\base\Module->runAction('site/error')
#22 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\web\NotFoundHttpException))
#23 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\web\NotFoundHttpException))
#24 {main}
Previous exception:
yii\base\InvalidRouteException: Unable to resolve the request "public/tp/travel/web/". in /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('public/tp/trave...', Array)
#1 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#2 /home/phpnet/public_html/public/tp/travel/web/index.php(13): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/phpnet/public_html/public/tp/travel/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#1 /home/phpnet/public_html/public/tp/travel/web/index.php(13): yii\base\Application->run()
#2 {main}

Problem with installation.

Follow the instructions to install this. Unfortunately, when I upload to the server I get a bug that looks like I forgot to compile the files - follow the instructions and still does not work. How do I solve this?

500 (Internal Server Error)

Hi, I install the flight api project in my VPS and I obtain the access to Travelpayouts API but when I make a search the 500 (Internal Server Error) appears

Travelpayouts Integration

Hi
I am trying to integrate Travelpayouts flight API. my site technology is Angular and Node Js. I have few issues with API integration. It would appreciated if you could help me to rectify the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.