Git Product home page Git Product logo

Comments (6)

khurshid-alam avatar khurshid-alam commented on July 19, 2024

Did you install tumblr library through composer? If you did , then it shoud be include('vendor/autoload.php)'.

If you didn't , then load the class by directly pointing to the 'tumblr.php'.

from tumblr.php.

patelmegha887 avatar patelmegha887 commented on July 19, 2024

i directly put tumblr library in server folder didnt install through composer..
is it fine or not?

from tumblr.php.

codingjester avatar codingjester commented on July 19, 2024

I think I need you to use a gist or something similar of what you've built. I think @khurshid-alam it's telling you that you'll need to require the tumblr.php file in the top of your script to load the actual client library.

from tumblr.php.

patelmegha887 avatar patelmegha887 commented on July 19, 2024

sorry for late reply i tried lot i install composer but autoload file cant be generated...is there another way?

from tumblr.php.

patelmegha887 avatar patelmegha887 commented on July 19, 2024

does we need to change composer,json file....
bcause when i install it it generate 4-5 autoload file i try to use every file still it dosent work

from tumblr.php.

khurshid-alam avatar khurshid-alam commented on July 19, 2024

@patelmegha887

sorry for late reply i tried lot i install composer but autoload file cant be generated...is there another way?

Is it showing any error? Does it create vendor/tumblr folder?

Which distro/OS & php version are you using? You should update composer first before doing anything. Try running php composer.phar update first. For more command-line usage look here: https://getcomposer.org/doc/01-basic-usage.md

The commands I have given (above & below) works fine on Ubuntu(>=12.04) with php 5.5

Your composer.json should look like this

{
    "require": {
        "tumblr/tumblr": "0.1.1"
    }
}

First manually create the file, then run php composer.phar install. It will generate a single autoload file inside vendor.

from tumblr.php.

Related Issues (20)

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.