Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    error in cpanel host?

    General Discussion
    2
    5
    554
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      karkiswapnil last edited by

      i get the following error in cpanel host of the project.

      ErrorException (E_WARNING)
      file_put_contents(C:\xampp\htdocs\bagisto-master\storage\framework/sessions/Iq1o8tEqFhRfRMdSryTobZ683cPtj8FNRKgtJFda): failed to open stream: No such file or directory

      1 Reply Last reply Reply Quote 0
      • K
        karkiswapnil last edited by

        And when i run composer dump-autoload

        i get

        Warning: Unsupported declare 'strict_types' in /home/memykids/public_html/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 3

        Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/memykids/public_html/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 86

        Please help!!

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by

          Hi @karkiswapnil

          For first Issue run 'composer dump-autoload' & for second one kindly use compatible php version.

          Thanks

          1 Reply Last reply Reply Quote 0
          • K
            karkiswapnil last edited by

            I tired using composer dump-autoload then i got the second issue
            I have tried using php v 7.1, 7.2 and 7.3 all give me similar error and composer doesnt work .

            1 Reply Last reply Reply Quote 0
            • R
              rahul last edited by rahul

              Hi @karkiswapnil

              Please go through with this link - https://github.com/Ocramius/PackageVersions/issues/62

              and https://github.com/Ocramius/PackageVersions/issues/64

              Thanks

              1 Reply Last reply Reply Quote 0
              • First post
                Last post