Changes on my website are not reflected quickly - php

Cache issue or something else I am failing to understand.
Since last two weeks I am facing a bizarre condition not only on my website but also my API written for mobile app.
The problem is changes I am making on my website are not reflected quickly. It's taking a lot of time, same goes for my mobile API.
For example: If I delete any item from my app that item is deleted from my database but it's still showing in my item list. After refreshing 100's of time it stop showing.
I made my web app and API using codeigniter 3 and I am hosting my website on bluehost server.

Related

Session cookies getting 'lost' when payment portal process completes

I have recently taken over the running of a hotel website which is linked to a bespoke booking management system. Because of this, it was simpler to leave all the previous developer's PHP code in place on the booking and payment pages of the website (The site uses stripe.com to process payments)
When a payment is processed, a PHP script is used to create a number of session cookies to record things like Room Number, Booking REF Cost etc then the site enters the Stripe portal which picks up the cookies and processes the payment - this is where things seem to go wrong.
The payment is processed successfully, all the info is displayed on the Stripe screen so I know it's reaching their server however when the browser is the forwarded back to the payment successful page on my new site, all the information stored by the cookies seems to vanish so the confirmation page fields are all blank.
Just to reiterate, this is code which was used on the old site for several years and which is still working on that site now (it's still live) - the info only disappears when Stripe returns to my new site.
So far as I can see, the PHP is identical on old and new sites. The only major differences are the domain hosting the old and new site are different (the new site is on our testing server) and obviously the servers are different.
The version of PHP used by the old site is 5.6 which I know is deprecated however I'm paying our hosting company (IONOS) £7.99 per month to enable support for this version and everything to this point has worked fine.
I've talked to Stripe support (useless) in case it was a security issue linked to the new testing server domain needing to be registered with them - they say it isn't. I'm hoping I don't get a succession of 'upgrade to the latest version of PHP' comments on here - we will do that eventually but it's so close to being done - this is one of the final tasks.

Any solutions about slow website loading? (VueJS and PHP API with MySQL DB)

I know that my question could be unclear, but let me firstly explain the issue to give me your advice.
I've built a website using VueJS linked it with PHP API (Redbean ORM) with MySQL DB engine hosted with GoDaddy Economy Shared plan and everything works fine as well.
For the first months of production, it works fine with its data and the client and his visits. But recently, the website is getting slow in responding the requests to server and also for the first load. Sometimes works good but suddenly stops loading and getting (504 Gateway Time-out) HTTP response. Even with some browsers works and some other does not, also with some mobile platforms like iPhone getting slow loading. As you know, VueJS uses SPA to make website super faster than traditional loading navigation.
It's clear that maybe the shared hosting plan is the main reason and we should upgrade to higher business plans to solve it, but I preferred to ask the community here if anyone has any idea to solve this issue.
The website object is online store and gallery for cosmetics and makeups, no payment APIs integrated.
Any ideas may I use to improve stability and responding? Thank you.

Azure DevOps Custom Page for Requesting / Tracking Features or Bugs

I'm new to using AzureDevOps to handle my team's development needs. Currently I'm faced with the question of how are we going to gather the requirements, change requests, suggestions or bug reports from the end users of our products, that are either deployed or under development.
My idea is to have a simple page that is linked with our Azure DevOps account, which can simply retrieve the list of projects, to help the end user set the category, and then simply email the request to one of the developers to be handled manually. Our end users are limited so this is not an issue of being flooded.
I've search google and others for a template / working example of such page to help me build it quicker, as I'm also very limited on time.
I'm sure someone has done this before. It's just a simple request page connected to DevOps.
Asking about Azure DevOps hosted on Microsoft cloud, with 5 active developer accounts working on 5 different projects. We also use Sharepoint and AzureAD for the company's internal use, and would like to limit the requests to only come from company employees. I tried looking this up, but couldn't find anything "ready made".
We had a similar problem where we wanted to let people access parts of ADO who dont have an Azure AD account. We need this because we are a large corporation with slow and complicated Active Directory processes...
I asked on server fault and found a little service called TicketStudio in the Marketplace that works good for us: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/aveyaramrsoftwaregbr1612902674653.ticket_studio?tab=Overview

PHP does not work properly in Android WebView

I created a simple app in android studio using WebView. The WebView element connected to a mobile website. When I login, some sessions like user and id are created to make the app work properly. Depending on the values of these sessions, information in a list is shown. But, when I login to the mobile application using the same credentials, it looks like some of the sessions are not created. When I echo'ed the sessions, they are simply not shown.
Some time ago I faced this problem too. Because I had to design the list-items, I hardcoded them. When I finished designing them, I replaced the hardcoded with the old function, and it worked! For a short time tho, after rebooting my device the old problem (as described) appeared again.

Web Application on Computer Data with PHP/MySQL

I want to make a computer storage (online) Web Application with PHP/MySQL... I mean where we can keep all the data of computer and all its configuration, up-gradation, problem occured, solved problems and alerts for warranty expires..
Can any one give me the example link where i can gain some idea (The example can be on any platform). I just want to go thru its work-ability..
I gone thru google, but nothing worth..
This company does something like that in their software. It is called asset management. It appears to be done using PHP and Ajax as far as I can tell. I suggest researching Ajax for more info as you will need real-time tracking, i would think. http://www.dapperdesk.com/hd/logina.php

Categories