PDA

View Full Version : The correct way to reinstall a backup plugin ?



Pete Young
February 22, 2018, 10:54 AM
I need to reinstall the saved backup plugin (report listings) what is the correct procedure for doing thing this ?

i know from help the backup is a zip file, but do i just go in and unzip t plugins ? do i delete the existing one first, do i pause ? and every other question I need to know i suppose to do this correctly, ? does flynax have anywhere a guide on this ?

Pete

Viktor
February 23, 2018, 04:39 AM
Hello Pete,

Would you please explain to us what is wrong with the new version of the plugin?

Simply you need to remove existing plugin and remove folder with the plugin from plugins folder, Then unzip backup from the backup folder and upload to plugin folder and then install.

Also, exist 1 question: did you customize the plugin? Changed something in hooks or phrases or something else?

Rudi
February 23, 2018, 04:58 AM
Hello Pete Young,

At the moment you can roll back your backup plugin in the following way:
- go to your ftp > plugins and remove your plugin folder
- unzip your backup file with the plugin into 'plugins' derictory
- then go to mysql database manager using cPanel
- run this sql request:


Select * FROM `fl_hooks` WHERE `Plugin` = '<your_plugin_name>'


Where <your_plugin_name> is the name of your plugin derictory

- then go to your plugin derictory > open a file "install.xml" > find a tag <hooks> with a hooks list , see screenshot
- now compare hooks from database with the hooks in install.xml by the name and its content:

if some hook from xml file is missed in database you should copy a code from <hook> tag and insert it into 'hooks' table like this:


INSERT INTO `fl_hooks` (`Name`, `Plugin`, `Code`, `Status`)
VALUES ('apTplHeader', 'locationFinder', 'if ($GLOBALS['cInfo']['Controller'] == 'locationFinder') { echo ''; }', 'Active');


if hook names are the same but their 'Code' are different edit the row of this hook and insert content from xml file


In the future, we'll facilitate the process of reinstalling older versions of plugins by making it automatic

2756

Pete Young
February 23, 2018, 09:02 AM
Viktor, from what I can see there is nothing wrong with the new version of the plugin, but i had to upgrade the http://forum.flynax.com/showthread.php?4548-report-listing-upgrade&p=21576&highlight=report+listing#post21576


* Hello Pete,
I've looked into your problem and found that you use php version 5.3 which is not supported many features used in the plugin and script
upgrade it at least to 5.6 and it should solve the problem*

This has now caused the mobile version of my site, to where nobody can log in, the pages drop down will not work, half of the buttons will not work, most of the images are now not showing.

Others users can not select categories even using a lap top, and basicly the whole site seems to have collapsed.

I can at this stage think of no other reason why all of this go down at once, so my best bet is to return to php 5.3 and reverse the plugin upgrade ?

to many people starting to complain see below so i need to do something.

-------------


Message: Hi Pete
Having trouble listing items. When I select Audio Visual on the menu the "next" button remains greyed out and I can't progress from there!


Drop down bar is still not working !!! Do you know how to fix.Gary


The drop down button top right of the page that allows me to get to my listings doesn't appear to be working. I've tried on laptop and mobile and i cant seem to get it to work :/

Pete Young
February 23, 2018, 09:05 AM
Hello Pete Young,


? Um Rudi I am not sure how to do all of that sorry ? this should not be that hard one would hope ?

Pete Young
February 23, 2018, 09:26 AM
OK guys major problems now with this site, this is not good, pictures are not working buttons not working everything now seems in meltdown I have reverted back to 5.3 and everything seems to be going from bad to worse ?

Who do I need to contact to look at this now and what is required ? I have paused the report listing option and rolled back to 5.3

Viktor
February 23, 2018, 10:47 AM
Hello Pete,

I have solved the problem on your site. Error was in lib.js file not in the plugin. Please check your site again.

Pete Young
February 23, 2018, 11:12 AM
Hello Viktor I seen this was now working / when you say jb file ? i have not touched one ?

anyway can I re activate the plugin and set the php to 5.6 as well ?

regards Pete

PS Thank You

Viktor
February 23, 2018, 03:09 PM
Hello Pete,

Yes somebody touched the lib.js file in your template. But now all ok :)

Pete Young
February 24, 2018, 12:43 PM
Hello Pete,

Yes somebody touched the lib.js file in your template. But now all ok :)

http://forum.flynax.com/showthread.php?3828-Issue-with-Messaging-contact-form

That was me that changed that file, so it was my error I was fixing the send message to owner ? I am guessing I made an error ? I did test to see if all was working but I must have messed it up in some way ?

thank you again Viktor, I will take a copy of the new file in case i need to fix this again, I am not sure why I needed to re do it as I did have it fixed ? anyway all is good now.

Brian Jester
October 14, 2020, 02:30 PM
Is there an automated way to restore old plugin data, or is this still the way to go?

Update: I have tried to restore using the following sample, but having trouble. There are no problems in the database, just that the plugin (old one) is not showing up in the admin panel under plugins. :(

I need my old FAQ plugin installed and also the category filter plugin I paid for to install.

Can someone help me get those two? I will put both old plugins in the install folder on my server.

I just uploaded both plugins in the plugins folder, and they are the older versions.

Amir Khalid
October 14, 2020, 05:07 PM
Hello Brian,

The latest FAQ plugin version is 1.1.2 , and for the filter plugin the latest version is 2.7.4, if you cant see in the backend (Admin Panel), you can redownload them from the download area.

What is exactly your issue with those 2 plugins ? maybe i can help you because i'm using them both and everything is working as expected.

regards,

Joe Can
October 15, 2020, 03:34 PM
From my view, but I may be wrong, your code is substantially modified from the original Flynax code.

I suggest you hire a developer experienced in Flynax script to guide you in finding solutions to the various issues you are facing.

When I started 15 years ago, I also wanted many, many modifications; however, I learned it is not for the best, unless you hire a developer.

Brian Jester
October 17, 2020, 01:51 AM
Hello Amir,

The problem is that when I open the admin panel -> plugins, the page opens, but the list of plugins is empty, and then if I go to search for Active Plugins, it shows the list, but the faq and category filter plugins (although installed - manually uploaded to plugins folder on my server) they are not on the list of active plugins. Do I have to re-install fresh, then copy the old files back, and if so, what should I do if I still don't see the plugins in the active list? The two plugins are also not showing in the Inactive list or To be installed list either. :(

Hello Brian,

The latest FAQ plugin version is 1.1.2 , and for the filter plugin the latest version is 2.7.4, if you cant see in the backend (Admin Panel), you can redownload them from the download area.

What is exactly your issue with those 2 plugins ? maybe i can help you because i'm using them both and everything is working as expected.

regards,

Joe Can
October 17, 2020, 02:57 AM
Are there two pages of plugins or just one?

Brian Jester
October 18, 2020, 12:15 PM
Joe,

I never touched the plugins, I only touched the css, and very little did I touch the templates.

Brian


From my view, but I may be wrong, your code is substantially modified from the original Flynax code.

I suggest you hire a developer experienced in Flynax script to guide you in finding solutions to the various issues you are facing.

When I started 15 years ago, I also wanted many, many modifications; however, I learned it is not for the best, unless you hire a developer.

Brian Jester
October 18, 2020, 12:16 PM
I only see one page of plugins.

Brian

Are there two pages of plugins or just one?

Brian Jester
October 18, 2020, 12:17 PM
The problem is that they cannot be set to active, and they are not listed as inactive either. :(


Hello Brian,

The latest FAQ plugin version is 1.1.2 , and for the filter plugin the latest version is 2.7.4, if you cant see in the backend (Admin Panel), you can redownload them from the download area.

What is exactly your issue with those 2 plugins ? maybe i can help you because i'm using them both and everything is working as expected.

regards,