ftpperso and xampp

Problems with the Windows version of XAMPP, questions, comments, and anything related.

ftpperso and xampp

Postby bob77 » 14. July 2019 19:04

8) hi there...i'm a noobs on xampp..
my problem is taht one : i got a php program that work fine when i upload it on my server.. :P
but when i use xampp,(my file is rightly copied in htdocs folder..), i start apache and mysql, call localhost under my navigator, my php program apear but it's in error.. :cry:

i suppose i forget to configure something :mrgreen: ...can you help ?

thanks for all..
bob77
 
Posts: 3
Joined: 14. July 2019 18:53
XAMPP version: 3.2.4
Operating System: Win 10 64bts

Re: ftpperso and xampp

Postby Altrea » 15. July 2019 04:44

Hi,

Which error?
You need to explain everything as detailed as possible if you want to have a chance that we are able to identify issues remotely.

Best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9741
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: ftpperso and xampp

Postby bob77 » 15. July 2019 17:10

yes..shure ! i'm sorry..

i got a form with options that people can select (easy one ) look:
Image
here's what it done on my web server. :P

but when i use xampp, i got this :
Image
:evil:

i can eaven not select anything...nothing works correctly.. u think it's a problem config ? :?: :?:
bob77
 
Posts: 3
Joined: 14. July 2019 18:53
XAMPP version: 3.2.4
Operating System: Win 10 64bts

Re: ftpperso and xampp

Postby Altrea » 15. July 2019 17:15

That is because your script relies on a specific php setting "short_open_tag" to be on.
But in the php recommendation (as in the xampp php settings) short_open_tag should be set to off.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9741
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: ftpperso and xampp

Postby Nobbie » 15. July 2019 19:24

As i dont think, that you can read and understand PHP scripts, there is no other option than changing php.ini.

Edit php.ini and search for "short_open_tag". Edit that line and change it to:

Code: Select all
short_open_tag = On


FInally save php.ini, then restart Apache. After then your script *should* work. Yes, its not recommended to use that option, but in case you dont have any PHP knowledge, there is no better solution.
Nobbie
 
Posts: 11053
Joined: 09. March 2008 13:04

Re: ftpperso and xampp

Postby bob77 » 19. July 2019 22:08

:wink: thank you all..it seems to work rightly...
i've got severals Undefined variables unrecognised by xampp and alphanumerique chartersnot right like "é" :?
...but it seems to be good...
bob77
 
Posts: 3
Joined: 14. July 2019 18:53
XAMPP version: 3.2.4
Operating System: Win 10 64bts


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests