Git Product home page Git Product logo

Comments (5)

taragano avatar taragano commented on May 26, 2024

The Photo Album sample project is using the RedBean database library that automatically creates the necessary tables and columns. You can see the relevant code here: https://github.com/cloudinary/cloudinary_php/blob/master/samples/PhotoAlbum/main.php

from cloudinary_php.

davedub avatar davedub commented on May 26, 2024

Not working for me. Apart from warnings and parse error messages on lines 101 and 108 of list.php, which I overcame by adding echo statements to avoid unexpected T_STRING and unexpected '' character input, I still get this error:

Parse error: syntax error, unexpected T_STRING in /Applications/MAMP/htdocs/cloudinary/samples/PhotoAlbum/main.php on line 2

from cloudinary_php.

TalLevAmi avatar TalLevAmi commented on May 26, 2024

The sample project requires PHP 5.3 and above, can you please verify which version of PHP you are using?

from cloudinary_php.

davedub avatar davedub commented on May 26, 2024

Aha - that may be the problem ... looks like MAMP was running 5.2.17. Let me try that again. ... ok, working, not sure I understand how RedBean works but I'll keep investigating that - thanks!

from cloudinary_php.

TalLevAmi avatar TalLevAmi commented on May 26, 2024

Happy to hear it works for you.

from cloudinary_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.