Good afternoon all,
I have been given the job of looking after a website running on SilverStripe. I have never dealt with Silverstripe before so I have uploaded a copy of the site to play around with. It took a while but I now have it running well.
Now the problem I have is this site has a search function that allows the user to search through a large table or products and I am trying to work out how to sync this with our own central database. I decided to start by finding the query and editing it to look at a different table to make sure I was looking in the right place and that I had my head around how the query works.
the code I found did not seam to change anything on the website. I then tried changing the table name in the database itself and flush the site. The search still seams to be reading through the database no problem. As a last resort I deleted the table in the database completely. did a dev/build?flush=all and yet the site still checkes through the database no problem. The only thing I can think of is that silverstripe caches the data somewhere, so does anyone know what is going on or how I can clear it?
edit: Turns out I was running the dev/build on the wrong site! problem of having them up side by side. When I run the dev/build on the test site I get a 500 error same if I try a ?flush=all on the test site "newsite.xxxxxxxxx.com/?flush=all" gives me a flush token and redirects to a 500 internal server error
edit: So I wiped everything, did a fresh install of Silverstripe. Site installs and can do a dev/build and a flush=all no problems. overwrote the database with the backup from the main site. Can still do a build and flush. copied over all assets ect folders except the mysite folder. can do a build and flush with each copy. Copy over mysite folder and now get a 500 error on build and flush.