• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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 22 Aug 2019, 10:59

    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 22 Aug 2019, 11:00

      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 22 Aug 2019, 11:19

        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 23 Aug 2019, 04:05

          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 23 Aug 2019, 05:31 23 Aug 2019, 05:30

            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
            2 out of 5
            • First post
              2/5
              Last post