Question: ppp error with log file php warning

ppp error with log file php warning

hello, i installed ppp on my local computer (win 10 and xampp php 7.1.3). this is the log file. 08:56:39 AM [PPP] info: PPP stderr: PHP Warning: PHP Startup: Unable to load dynamic librar

VF

Valentino Febrian

Asked

hello, i installed ppp on my local computer (win 10 and xampp php 7.1.3). this is the log file.

08:56:39 AM [PPP] info: PPP stderr: PHP Warning: PHP Startup: Unable to load dynamic library ‘intl’ (tried: ext\intl (The specified module could not be found.), ext\php_intl.dll (The specified module could not be found.)) in Unknown on line 0

08:56:39 AM [PPP] info: PPP stdout: Configuration File (php.ini) Path: C:\Windows Loaded Configuration File: C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\php.ini Scan for additional .ini files in: (none) Additional .ini files parsed: (none)

ps: i already search it on the google to enable php_intl.dll on php.ini then i restart the apache but the error still appear.

what should i do? thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    Windows installer wrap the php executable for easy usage. Looks like path issue but not sure. Can you please open C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\php.ini and change line no 3 and 4 from

    extension=intl
    extension=gd2
    

    to

    extension=php_intl.dll
    extension=php_gd2.dll
    

    The try to open PPP again and let me know the result.

    Please be informed that machine requirements are Windows x64 edition with VC15 or VS16 installed

  • VF

    Valentino Febrian

    Answered

    i change the php.ini as you told me to do

    extension=php_intl.dll

    extension=php_gd2.dll

    ** the log file output: 07:23:24 PM [PPP] info: PPP stderr: PHP Warning: PHP Startup: Unable to load dynamic library ‘php_intl.dll’ (tried: C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\ext\php_intl.dll (The specified module could not be found.), C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\ext\php_php_intl.dll.dll (The specified module could not be found.)) in Unknown on line 0 **

    those ext\php_php_intl.dll seems wrong so i change to revert the php.ini previous version. and also i tried to change the ext path to "C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\ext"

    the output

    *** 07:26:15 PM [PPP] info: PPP stderr: PHP Warning: PHP Startup: Unable to load dynamic library ‘intl’ (tried: C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\ext\intl (The specified module could not be found.), C:\Users\VAL\AppData\Local\Programs\POS-Print\resources\app.asar.unpacked\project\php\win\ext\php_intl.dll (The specified module could not be found.)) in Unknown on line 0 ***

    my pc are windows 10 x64, did you mean VS15 “visual C++ Redistributable for Visual Studio 2015 x64” ? yes, it seems i already installed

    Attachments
  • MS

    Mian Saleem

    Answered

    Looks like the php version has bug loading the extensions. Please allow me some time to update the installer. Thank you

  • VF

    Valentino Febrian

    Answered

    okay, please notify when the update ready. thanks

  • VF

    Valentino Febrian

    Answered

    hello, when i get this update?

  • MS

    Mian Saleem

    Answered

    Valentino Febrian I am sorry dear. I hope, will be able to complete the POS Print app today and will update you onceI have installer links for you. I am sorry for delay.

  • VF

    Valentino Febrian

    Answered

    and also, i use 58mm width paper for the thermal printer. the text is not enough for the paper. where can i setting the font size? in the ppp or SMA ?

  • MS

    Mian Saleem

    Answered

    Hello,

    Yes, it will be fine to use trial while development and activate it only on the machine that you plan to use for long run.

    The character per line are fixed 48 at this moment. If you want to use it with SMA or SimplePOS, you can add a dummy printer with lower character per link and change setting to local php server with that dummy printer as default. Once default printer saved for the php server, you can change back the printing setting to POS Print Server.

    If you can take screenshot of the receipt that would be very helpful to add the option. I will check If I could add font and character per line option to while adding printer in POS Print Server.

    Thank you for your patience.

  • VF

    Valentino Febrian

    Answered

    did you delete my lisence? i entered the lisence in my development pc (the previous ppp version).

    i attached this real receipt and pos (SMA) view screenshot.

  • VF

    Valentino Febrian

    Answered

    did you delete my lisence? i entered the lisence in my development pc (the previous ppp version).

    i attached this real receipt and pos (SMA) view screenshot.

  • Login to Reply