Question: Unable To Install The Product

Unable To Install The Product

I have newly bought this product and unable to install it ... it gives me following error Parse error: syntax error, unexpected '?' in C:\xampp\htdocs\Demo\POSProShop\install\install.php

A

Atif

Asked

I have newly bought this product and unable to install it … it gives me following error

Parse error: syntax error, unexpected ‘?’ in C:\xampp\htdocs\Demo\POSProShop\install\install.php on line 15

I have just placed the downloaded files into my xampp directory under path “htdocs\Demo\POSProShop”

  • A

    Atif

    Answered

    I have installed it on php 7.4. Now saying “Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.0.0”.”

    Somewhere in support i saw text written like “If php7.4, then you can run composer install to install the packages agian. Thank you”.

    Now please tell me how to install package in my CPANEL ???

  • A

    Atif

    Answered

    I have removed the composer error as well… now showing the main page but that without theme / css. Check attached snap shot…

    Can any one help please … its urgent???

  • A

    Atif

    Answered

    Also does anyone have the sample database with all the products / categories as enlisted in the website?

  • MS

    Mian Saleem

    Answered

    Hello,

    Please update your php version to php8.0

    You can install this item with php7.4 too but there you will need to run composer install to install the packages for your php version. The default packges are install on php8.0

    Please update the base_url in app/config/config.php to https:// if you have enabled the SSL. I can see the styles are not loading as it might be trying http to load and browser blocked. Chaning the base_url will fix the issue.

    Thank you

  • A

    Atif

    Answered

    Thank you mian saleem … one more problem I am facing that barcode is not showing in any screen … sample attached.

  • A

    Atif

    Answered

    these are the errors reported in logs;

    ERROR - 2023-04-26 09:50:46 --> Could not find the language line " note" ERROR - 2023-04-26 09:50:46 --> Could not find the language line “hide_form” ERROR - 2023-04-26 09:50:46 --> Could not find the language line “show_form” ERROR - 2023-04-26 09:50:46 --> Severity: Compile Error --> Cannot use ::class with dynamic class name /home/easynodes/public_html/demo/POSProShop/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php 77

  • MS

    Mian Saleem

    Answered

    What’s your php version? Please try it with php8.0 Thank you

  • A

    Atif

    Answered

    thank you … it was 7.4 earlier… now changing it at 8.0, it is working nw

  • Login to Reply