Ok, so I'm having this problem with an application I wrote in AS3 and PHP (Linked together using AMFPHP) and What happens is (Using a basic way of saying it) I retrieve data from a database and display it on the screen. I've done this many times before and it works on both the web and in Flash Pro. itself. The problem I'm having this time is that it works perfectly in Flash Pro. but when I upload it to my web host, it doesn't work and it shows a blank screen. Any suggestions? If you require any additional information please ask :)
Related
So I have a very simple form with just 2 fields that submits on the staging site, tested and got my clients to test and everything was fine.
Uploaded exactly the same code to the live site and it works for me but my clients just get the same empty form after submitting instead of the intended thank you message that should be showing in its place...there are no error messages and I can't seem to replicate this anywhere other than on the live site and i don't want to turn debugging mode on there.
I have also checked the host for error logs but unfortunately the host doesn't seem to have this feature.
How do I debug this or any information as to why it wouldn't be working would be super helpful.
I have gotten clients to hard refresh and clear browser cache. They have tried on multiple machines and in different places with the same result.
If you would like to take a look the staging site is here: http://ams.staging.gooi.ltd/
It's the Newsletter Sign Up button in the top left. This has been working for everyone that has tried though....like I said...only seems to not work on the live site for some people.
I'm pretty new to web development and as I build websites using an Apache server, I was wondering how to prototype changes. For example, say I'm working on improving a PHP file that is already being displayed on the site. How can I test whether the changes I'm implementing work when the updated file is put on the server without disrupting users to the site if there is an error in the new code?
You should have a local copy of your site on your machine where you can test your codes, if that works, add it to your live website, Simple!
I'm trying to use a HTML/PHP form on my website. The problem is submit just opens a new page displaying my php as text, this is when I open the html file on my computer using Google Chrome. When I uploaded to my hosting service, TK dot com, I get a 405 error when using the form. I've tested on working/downloadable php forms and the same thing happens.
From my understanding, I can't just use php on my site without setting up an environment. I've read I need to use some sort of program to do this (apache). Which kind of confuses me further, how would I enable this type of service, which installs to my computer, to run on my website when my computer is off?
Any tips or guides on how to do use apache for PHP forms on my website or similar that I can be redirected to would be really helpful. Please let me know if any extra information is needed.
I need to daily update a Wordpress backed website pages based on a text input I get via email. So I wrote an iOS app that parses the input text, based on some rules generates HTML page and with some googling I prepared a php code that inserts my updated pages directly into the Wordpress MySQL database and also updates other table so the site menus reflects the newest changes. So far so good.
I am now looking into ways how to automate this workflow further so that I don't have to copy the input text into my iOS app and run the website update every single day. I am seeking a way how to expose the Swift code I have written directly to the Wordpress admin panel, so the website administrator can update the site on his leveraging the Swift code I have already done.
I think you're going to want to write this in PHP or some other language that can run on the Web server and directly access the MySQL database. I suppose you could make a Cocoa Application to run on a Mac to do this and repurpose your Swift code, but I'm gonna bet your Web server isn't running on a Mac.
Take a look at these:
Handling Forms in PHP
Connecting to MySQL from PHP
PHP Basics
This topic has been raised a few times but even after searching and going through suggestions I haven't found a solution.
I have a PHP based website and an Android app that has to use the same database. The database is for an objective type test. The questions are created on the web using an admin panel.
The Android app needs to work offline so there is a need for one time sync when internet is available.
I have created a table in PHPMyAdmin called "database version". The Android app checks the database version using a web service. If the the version number is different it should be able to download the latest version of the database of the website and store it locally for offline access.
One of the suggestions I've come across is to convert the .sql database into .sqlite and give the download link of .sqlite to the Android app. However, converting .sql database to .sqlite using PHP doesn't seem to be easy. I've come across some shell script method but with no knowledge about that it probably doesn't work for me.
So, I'm looking for way to make sure the Android app can use the same database of the website but only require internet connection for syncing otherwise the app will work offline.
Would appreciate if I could get some directions and advise as to how to accomplish this.
Thanks!
Actually, I'm not sure If I would choose a solution that "replaces" the database when your app gets back online. I think I would build a database on the Android (SQLite), and synced with the Webdatabase (MySQL) row by row, by comparing datastamps.