I had to make some changes on a Gambio shopsystem.
All changes I made were tested on a local server first and then pushed to the live server.
The problem now is, that most of the changes are applied correctly but one file really does not.
The one that does not work is in the path ./templates/shopname/module/product_listing/product_listing_v1.html
I only changed one html-tag in there.
Now to the things I have tried.
I uploaded it several times, so there is no chance at all, that it is not really there.
I cleared the folder ./cache/
I cleared the folder ./templates_c
I disabled the cache for the whole system
I made sure there is no fallback, so it is really only one file that should work
On the local server the changes I made worked immediately. On the live server, it did not work and the original html-tag is still there on the live server.
For some files in Gambio the software takes template files out of one table. In the backend of the shop it is possible to select the specific file from the folder
If there is more than one file which can be selected and there is no selected file, the system automaticly takes the last one by default.
There are 2 ways to solve the problem:
Delete all other possible duplicate files, like copys or other unused files.
This is the one I recommend.
You can select the template file you need for every product or category. That can be a real pain.
Related
In our company, we created a small Access database, which was in a network folder for everyone to access it.
After a while we decided to split it into a backend and a frontend. The new frontend is at the same location the original data was while the original data, serving as the backend now, is in a subfolder of the folder it used to be located in, so all relevant data is accessible to the the employees as it has always been.
The current problem is, that today, most of the time both the BE and the FE have their ".Iaccdb" files showing up and if you try to open any of the two, BE or FE, it will say, that a user is using the database in the exclusive mode.
I guess solving the problem at hand isn't the main issue here. What I rather like to know is, WHAT must have happened, to cause both files to behave this way.
I heard about this happening to either the BE or the FE, but never both simultaneously.
Never use a shared frontend:
Deploy and update a Microsoft Access application with one click.
I found out what caused the issue and in doing so also have to apologize for omiting one relevant detail: The old file I started with also had connections to Sharepoint lists.
Because of that, I couldnt just use the split function as it doesn't work if you're database is connected to Sharepoint.
So my workaround was to copy the access file in the upper folder as the new FrontEnd. In this new file/FE, i just created links to the old file's table, which now serves as the backEnd.
As I said, there were connections in the old file/BE.
When I first tried the FE, it worked properly. only when someone already opened the FE and another one wanted to do the same, the issue of users blocking each other appeared.
My solution was to get rid of the SharePoint connections in the old file/BE and now everything works smoothly.
My fellow admins have made some changes manually in phpmyadmin. I want to get the record of the changes they have made. Is it possible to get that??
From what I can remember from phpMyadmin, when you install it you have a 'config.sample.inc.php' file which you copy to set up the actual 'config.inc.php' which contains all the configurations. You could use a file difference tool to compare both files and you could see the differences between the original and how it currently is. This is not an exact way but will offer insight into changes made. The only other way that I know off hand is if the config files are under version control, in which case you can compare previous versions.
Hope this helps :)
I'm having a little issue with a Wordpress site. What I want to do is to migrate all the posts/news from one installation to a new one, including it's images.
So what I did, apart from reading a lot of tutorials, was.
First Download the XML that contains all the info from the posts,
Second Uploaded the XML to the new site, it imported the posts, categories and authors with no problems, but with no images.
Third I transferred the images via FTP, to the same location, with no change in the names or anything. Also, the folder has all the permissions.
Fourth I read that after all this is done, it's necessary to do a MySQL change, related to the "post_content" where you should change the old domain, for the new. The change is made, but nothing happens, the images are still not visible.
So.. What could be the step that can be missing? Or did I made something wrong?
This post has the information related to the MySQL sentence to replace the "post_content" field.
Thanks in advance.
I'm really new to owning a website, I just bought mine today!
But, I've found found pretty fast that updating files can be a nuance.
Make a change locally, save, re-upload.
I really prefer to code locally, as the IDE is much better. Else I'd have no problem coding with the hosts "notepad".
So, my question is, is there software of any kind that will sync your local files, to those that are hosted on the web host? Or is this dependent on the web host?
i use winscp, i tell it to upload changed files, so once logged in, any changes i make locally are automatically updated. there are other ftp clients that do this also.
you can use a file versioning system like svn to download and update files, push new versions. But that isn't really any different than what you are doing now, except that svn offers ability to keep track of previous versions and keep people from overwriting each other's work. I think maybe you might mean more like "when I open and edit file.txt in my editor and save, it is automatically updated on the server" ? If that is the case, there are a lot of editors that will let you open a file remotely and when you save it, it saves it remotely. The one I personally use is html-kit
Several times now I've had Eclipse delete files for me seemingly randomly - then they appear under the 'Local History' option.
What is going on! I'm definitely not just deleting things by mistake.
Most recently it deleted my template files under html-template which are quite important!
I have an AIR project and a web project that references the src directory inside the AIR project. Usually I close one project while working on the other.
FYI: Currently my backup solution is Windows Home Server which means I have to go home to find a file if its lost in some other fashion and not in history. Yes I do plan to rectify that!
Under Local History you can find the previous versions of your files, after you modified it.
Didn't you set this folder as the output folder for compiling? Then eclipse could clear the files during build.
I suspect it is an external application that is deleting or moving your files. Eclipse's local history simply keeps of copy of your files for quick reverting later.
I suggest trying using a different IDE for a while like NetBeans, and see if the files are still being deleted. Eclipse probably isn't the suspect, as those files would be in local history even if they were not deleted.
I am trying to fix an issue like this myself, I find that when I look into files that have been deleted with another text editor like GEdit, they look like they have been corrupted. I hadn't previously noticed that eclipse kept them in local history, thank you for that. I had been using gitHub for backups before and restoring from that.
If I find that switching to another IDE fixes it, or any other info, I will update this post.