Osclass Support Forums

General osclass questions => General discussion => Topic started by: danads on September 05, 2022, 10:15:09 PM

Title: Upgrade osclass
Post by: danads on September 05, 2022, 10:15:09 PM
Hello,

I have osclass v390
Can I upgrade to v8 but to cheap all users acount.

I will install new plugins and new themes. (how to erase all garbage's from myphp)
How to do to have evreting fress but to cheap data user acount without listings.

Thanks.
Title: Re: Upgrade osclass
Post by: MB Themes on September 06, 2022, 02:06:00 PM
Ok, keep users, remove listings.
I recommend first to remove listings in your backoffice, that is best way.
Then you can manually upgrade osclass.
Title: Re: Upgrade osclass
Post by: danads on September 06, 2022, 05:45:21 PM
Yes good thinking.
I will update oscalss like this.

With all old plugin I will dezinstall and delete but same rezidual info will not remain in to phpMyAdmin data baze? and affect the new plugins.
How to clear this data baze? before upload the new plugins.

Thanks.
 
Title: Re: Upgrade osclass
Post by: MB Themes on September 06, 2022, 06:00:35 PM
Plugins are not problem.
Title: Re: Upgrade osclass
Post by: danads on October 02, 2022, 11:05:04 AM
Hello,

Which file from osclass v8 I need to update on cpanel to cheep data all user acount from osclass site now and the ads from last 30 days
(I have clean from oc-admin and I have only ads from last 30 days and corect users)


I don't think I need to copy all folders oscalss v8 to cpanel.

What I need to cheap and what to replease on cpanel folders?
 
Title: Re: Upgrade osclass
Post by: MB Themes on October 02, 2022, 12:15:06 PM
All files are required for upgrade
Title: Re: Upgrade osclass
Post by: danads on October 02, 2022, 12:23:13 PM
Sorry form my understanding, 

oc-admin and oc-includes I delete from cpanel and upload file oc-admin and oc-includes from osclass v8
oc-content I will replace or not?
Title: Re: Upgrade osclass
Post by: MB Themes on October 02, 2022, 12:53:57 PM
You replace everything
Title: Re: Upgrade osclass
Post by: danads on October 02, 2022, 12:55:59 PM
Ok , I will replece evretings all file osclass on Cpanel but I will not loose ads and user?
Title: Re: Upgrade osclass
Post by: MB Themes on October 02, 2022, 12:56:41 PM
Those are in database, anyway you backup all data before uograde
Title: Re: Upgrade osclass
Post by: danads on October 02, 2022, 01:01:24 PM
I replace and when I tray to refreshing web page :

Warning: require(/home2/anunturi/public_html/oc-admin/themes/modern/upgrade/index.php): failed to open stream: No such file or directory in /home2/anunturi/public_html/oc-includes/osclass/helpers/hDefines.php on line 232

Fatal error: require(): Failed opening required '/home2/anunturi/public_html/oc-admin/themes/modern/upgrade/index.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home2/anunturi/public_html/oc-includes/osclass/helpers/hDefines.php on line 232

error.log

[02-Oct-2022 14:12:22 Europe/Bucharest] PHP Warning:  require_once(/home2/anunturi/public_html/oc-includes/osclass/default-constants.php): failed to open stream: No such file or directory in /home2/anunturi/public_html/oc-load.php on line 48
[02-Oct-2022 14:12:22 Europe/Bucharest] PHP Fatal error:  require_once(): Failed opening required '/home2/anunturi/public_html/oc-includes/osclass/default-constants.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home2/anunturi/public_html/oc-load.php on line 48
Title: Re: Upgrade osclass
Post by: danads on October 02, 2022, 01:22:08 PM
I changed on in

database, t_preference table, admin_theme field change from modern to omega and now I can update
Title: Re: Upgrade osclass
Post by: MB Themes on October 03, 2022, 07:59:34 AM
Cool  ;)