Loading


Advertisement:

Author Topic: Fresh Install Using Images From Previous Install  (Read 1454 times)

Festus

  • Newbie
  • *
  • Posts: 5
Fresh Install Using Images From Previous Install
« on: June 17, 2016, 08:37:11 am »
Hello,

I installed Osclass about a week ago. I modified the Bender theme somewhat, and as far as I know everything was fine. I had made a great deal of changes (playing around), some simple, some not, so I decided to delete the install, and re-install, before taking the installation live. I had a few backups of some Bender theme files I had modified (minor stuff that I wanted to keep and use) and some notes, so customizing the new install should have been simple.

So, I deleted Osclass. (I used Softaculous for both the install and the uninstall). I like to be cautious, so I looked in my hosting cPanel to make sure all signs of the database were gone. Everything looked good: No sign of the deleted database in my databases area or in PHPMyAdmin.

Then I reinstalled Osclass. Before even beginning on a few simple (Bender) theme modifications I began placing test ads. That's where the trouble started. The new test ads were placed ok, but the images within the ad were wrong. For example: The first thumbnail was the image of a cat, but the full size image was of a horse. All three of the images were like that. Even more confusing is that all of the images were from the deleted install. None of them were the new, never-used-them-before images I uploaded in the test ad of the second install.

So, I looked in the config.php file and the info in there was correct for the second install. Then I contacted my web host who said the database of the first install was truly deleted. They said something weird happened, but that it wouldn't happen again. Not very technical or reassuring.

So, I deleted Osclass, again, and reinstalled it. I've been very careful to use different database names, table prefixes, admin user names, and passwords. I have been installing to the same directory but it's important to use that directory (and the entire directory was deleted during the uninstalls). And, in my hosting control panel there's no sign of the deleted databases. Even so, when I placed a new test ad, with images I haven't used before, images from the previous installs show up instead, and the thumbnails don't match the full-size images.

Does anyone have any idea what this is? I spent a great deal of time in live-chat with my web host and they assure me it's not on their end (though I suspect it could be, I just don't know what). My host's help files say there isn't any caching, so I'm at a loss. Thank you for any ideas.

teseo

  • Hero Member
  • *****
  • Posts: 5743
Re: Fresh Install Using Images From Previous Install
« Reply #1 on: June 17, 2016, 02:59:16 pm »
Hi,

Most weird indeed...  :o

Did you try other themes? Disabled all plugins? If so,

Did you keep same name for the database? If so, clone your DB with a different name and adjust config.php accordingly. If the problem persist, you may discard database issues.

Now for the file structure, clone your Osclass files to a new subfolder, keep same database but adjust paths, see if problem is solved.

In any phase, post new ads with images, to discard issues with existent ads.

Regards

Festus

  • Newbie
  • *
  • Posts: 5
Re: Fresh Install Using Images From Previous Install
« Reply #2 on: June 17, 2016, 06:17:35 pm »
Hi,

Thank you for the reply. After the 1st install, I did not even install any plugins (so, none to disable). I tried the Bender theme and another one, maybe Modern, I don't remember. I also changed the name of the database on each install.

So, I guess I need to try a different directory name.

Thanks for the reply. I will back up and go through all your suggestions. Can't hurt!

Festus

  • Newbie
  • *
  • Posts: 5
Re: Fresh Install Using Images From Previous Install
« Reply #3 on: June 23, 2016, 05:30:40 pm »
Not sure if this information will help anyone else, but in case it will here goes:

After my previous post on this topic I cleared my Firefox cache. Being paranoid, I cleared everything (cookies, cache, forms, browsing and downloads, etc.). Then I got busy and five days went by.

Five days after deleting Osclass for like the 3rd time, I reinstalled it. I used Softaculous and right away I was feeling more optimistic. When I was filling in the installation information (directory, database name, etc.), the information from the previous installs was missing from the form fields. It should have been missing, of course, because I had cleared my computer's cache, but it's nice when things work out like they should.

When I completed the install I began submitting test ads. The photos I'm submitting to the test ads are the correct photos! Previously, the photos were 1) from previous installs and 2) the thumbnails were not the same as the full-size photos.

So, clearing my computer's cache seems to have been the answer to the issue, even though, to the best of my understanding, this shouldn't have been a factor. Since all the photos I submitted along the way were different and had different file names I'm not sure why this worked. Assuming, of course, that clearing the cache is really what fixed things, but I tried everything else (different database and table names, different usernames, etc).

campusmart

  • Newbie
  • *
  • Posts: 26
Re: Fresh Install Using Images From Previous Install
« Reply #4 on: September 12, 2016, 02:05:29 pm »
I'm having similar problems but in my case it's the theme issue...

I deleted the whole osclass then reinstall it using softaculous too but when I reinstall I can still find the previous installed themes like two to three themes from the old installation in the new one which is not supposed to be there is only bender that's supposed to be there after a new installation. I've cleared everything still the same problem.. Pls what can I do?  it driving me crazy

campusmart

  • Newbie
  • *
  • Posts: 26
Re: Fresh Install Using Images From Previous Install
« Reply #5 on: January 15, 2017, 10:46:21 am »
Please help, I'm still having this problem since last Year

Just installed the new osclass 3.7.1. It Installed successfuly using Softaculous but I'm having one or two problems
1. After the complete installation I login to my admin i.e mysite/oc-admin to upload a theme, i choose my preferred theme from my folder, clicked upload then I got this message "Invalid CSRF token".I tried it again and again on till I finally got the message "your theme   has been uploaded successful" finally! o Boy!  I was happy. I moved to appearance > theme to activate my uploaded theme but when I click on 'activate" it doesn't do anything I mean no activation.when I visit my site the default bender theme is still there.
This stuff happened to the plugins too, I uploaded but can't install

NOTE: I've deleted the whole installation then I reinstall it same thing happened but now my previous uploaded theme and plugin still appears after a new installation which was supposed to have been deleted

Can anyone tell me what's wrong

Liath

  • Hero Member
  • *****
  • Posts: 895
  • #Kurt_Cobain { margin-bottom: -6.5ft; }
Re: Fresh Install Using Images From Previous Install
« Reply #6 on: January 16, 2017, 01:37:23 am »
you can try to acivate debug mode and have a look in the debug.log...


OSClass activate Debugging