ppp error with log file php warning

0

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

Question Resolved For: POS Print Server (Windows Installer) 0 Votes 18 Answers 41.9k Views
Asked by Valentino Febrian 5 years ago

0

Answered by Mian Saleem

Hello,

Can you download the file from https://1drv.ms/u/s!AgnnTuY8C10ggdohDI-w2kBBvFuTFw

Please install it and try to add printer as mentioned in the pdf file included. Let me know if you have any issue.

Thank you

0

Answered by Mian Saleem 5 years ago

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

0

Answered by Valentino Febrian 5 years ago

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

0

Answered by Mian Saleem 5 years ago

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

0

Answered by Valentino Febrian 5 years ago

okay, please notify when the update ready. thanks

0

Answered by Valentino Febrian 5 years ago

hello, when i get this update?

0

Answered by Mian Saleem 5 years ago

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.

0

Answered by Valentino Febrian 5 years ago

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 ?

0

Answered by Mian Saleem 5 years ago

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.

0

Answered by Valentino Febrian 5 years ago

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.

0

Answered by Valentino Febrian 5 years ago

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.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.