-
AuthorPosts
-
February 10, 2020 at 11:46 am #1183005
Hallo,
ich habe ein Problem damit, die veraltete Homepage unserer Stiftung mit der aktuellen Version von Enfold upzudaten. (www.buergerstiftung-achim.de)
Auf unserer Domaine läuft :
Wordpress Version 4.0.29
PHP 5.6Da ich die Administration neu übernommen habe, kenne ich die Lizenz der alten Version nicht (wusste keiner mehr). Also habe ich eine neue Lizenz erworben und die Zip-Dateien heruntergeladen.
Die Homepage habe ich mit Duplikator gesichert und per FTP und Datenbankexport die Inhalte auf meinem Computer gespeichert.
Wie kann ich jetzt die neue Version auf unsere Homepage installieren, ohne dass die Daten und Einstellungen der alten Version beschädigt werden?
– In Enfold/optionen/theme-update habe ich Name und API-Key eingetragen. Es wird kein Update angeboten. Vielleicht weil die WP-Version veraltet ist?
– Auf dem Server habe ich PHP aktualisiert. Dann kamen nur noch Fehlermeldungen und kein Zugriff mehr auf die Homepage. Also musste ich es rückgängig machen.
– Kann ich die WP-Installation auf die aktuelle Version updaten oder läuft dann Enfold 3.0.4 nicht mehr?
– Wie kann ich per FTP updaten, ohne die Homepage zu beschädigen?Könnt ihr mir bitte helfen?
Viele Grüße
Axel Eggers-
This topic was modified 6 years ago by
buergerstiftung-achim.
February 10, 2020 at 7:27 pm #1183187Hey buergerstiftung-achim,
You need to be running php7+.
Make a full website backup. You can rename the old enfold folder via FTP and upload a fresh copy. If any errors arise, please let us know, if not, delete the old folder, clear the cache and you should be fine.Sie müssen PHP7 + ausführen.
Erstellen Sie eine vollständige Website-Sicherung. Sie können den alten Ordner enfold über FTP umbenennen und eine neue Kopie hochladen. Wenn Fehler auftreten, teilen Sie uns dies bitte mit. Wenn nicht, löschen Sie den alten Ordner, leeren Sie den Cache und es sollte Ihnen nichts passieren.Best regards,
VictoriaFebruary 13, 2020 at 12:05 pm #1184115Hello Victoria,
thanks for your help.
I have done so. I changed PHP to 7.2. After that I renamed the uploadet new version of ENFOLD form “Enfold neu” to Enfold and the old one from Enfold to “Enfold alt”.
That is the result:
Parse error: syntax error, unexpected ‘}’, expecting end of file in /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-megamenu.php on line 409
What shall I do? Maybe the Problem is WordPress Version 4.0.29?
Best regards
AxelFebruary 14, 2020 at 1:39 pm #1184480Hi Axel,
Thanks for the update. So you are running WordPress 4.0? If so then that is likely the problem, could you try to update to 5.3.2?
Best regards,
RikardFebruary 17, 2020 at 8:02 pm #1185387Hello again,
the problem I told you last time was not an issue of old WordPress. It was just a syntax error in Enfold class-megamenu.php datafile. I solved it with PHP Code Checker.
But immediately after this problem was solved a new error message popped up:if( !function_exists( ‘avia_fallback_menu’ ) ) { /** * Create a navigation out of pages if the user didnt create a menu in the backend * */ function avia_fallback_menu($params) { $output = “”; $current = “”; $exclude = avia_get_option(‘frontpage’); if (is_front_page()){$current = ” current-menu-item”;} if ($exclude) $exclude =”&exclude=”.$exclude; // apply class to allow burger menu CSS to hide menu $page_list = wp_list_pages(‘echo=0&title_li=&sort_column=menu_order’.$exclude); $page_list = str_replace( ‘page_item’, ‘page_item menu-item’, $page_list ); $output .= ”
“; $output .= ”
“; $output .= ”
• “.__(‘Home’,’avia_framework’).”
“; $output .= $page_list; $output .= apply_filters(‘avf_fallback_menu_items’, “”, ‘fallback_menu’); $output .= ”
“; $output .= ”
“; if($params[‘echo’]) { echo $output; } else { return $output; } } }
Fatal error: Uncaught Error: Class ‘avia_megamenu’ not found in /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php:176 Stack trace: #0 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php(125): avia_superobject->init() #1 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php(344): avia_superobject::instance(Array) #2 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/avia_framework.php(104): AviaSuperobject(Array) #3 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/functions.php(161): require_once(‘/homepages/5/d1…’) #4 /homepages/5/d132373014/htdocs/wp-settings.php(329): include(‘/homepages/5/d1…’) #5 /homepages/5/d132373014/htdocs/wp-config.php(84): require_once(‘/homepages/5/d1…’) #6 /homepages/5/d132373014/htdocs/wp-load.php(29): require_once(‘/homepages/5/d1…’) #7 /homepages/5/d132373014/htdocs/wp-blog-header.php(12): require_once(‘/homepages/5/d1…’) #8 /homepages/5/d13 in /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php on line 176Thats a problem too big for me. But I think its also an error in an Enfold file, not a WordPress file. Is´nt it?
Whould you please have a look at my enfold-application. Maybe I did anything wrong when I load it with FTP.To update WordPress is not easy aktually, because all the error messages prevent me from accessing the WordPress dashboard.
Thanks for your help again.
AxelFebruary 18, 2020 at 5:10 am #1185528Hi Axel,
Sorry for the problem, we can’t access your WordPress backend either unfortunately. You mentioned that you were running WordPress 4.x earlier in this thread, is that still the case? If so then I think that is the problem, could you try to update your WordPress installation manually via FTP?
Best regards,
RikardFebruary 19, 2020 at 6:55 pm #1186147Hello Rikard,
sorry but I need your help another tme.
I have done as you told me: I made the update from WP 4.0.29 to the actual WP-version 5.2.2, using FTP. It was impossible to check whether all plugins were deactivated or not, because, you know, I have no access to the dashboard. But I think i have done it before I started updating Enfold.
I checked it at wp-admin/upgrade.php: everything is ok. Also the adjustment of the database was successful.
After that I opened my wordpress-homepage (wp-admin) and found the same error message that I posted last time.if( !function_exists( ‘avia_fallback_menu’ ) ) { /** * Create a navigation out of pages if the user didnt create a menu in the backend * */ function avia_fallback_menu($params) { $output = “”; $current = “”; $exclude = avia_get_option(‘frontpage’); if (is_front_page()){$current = ” current-menu-item”;} if ($exclude) $exclude =”&exclude=”.$exclude; // apply class to allow burger menu CSS to hide menu $page_list = wp_list_pages(‘echo=0&title_li=&sort_column=menu_order’.$exclude); $page_list = str_replace( ‘page_item’, ‘page_item menu-item’, $page_list ); $output .= ”
“; $output .= ”
“; $output .= ”
• “.__(‘Home’,’avia_framework’).”
“; $output .= $page_list; $output .= apply_filters(‘avf_fallback_menu_items’, “”, ‘fallback_menu’); $output .= ”
“; $output .= ”
“; if($params[‘echo’]) { echo $output; } else { return $output; } } }
Fatal error: Uncaught Error: Class ‘avia_megamenu’ not found in /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php:176 Stack trace: #0 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php(125): avia_superobject->init() #1 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php(344): avia_superobject::instance(Array) #2 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/avia_framework.php(104): AviaSuperobject(Array) #3 /homepages/5/d132373014/htdocs/wp-content/themes/enfold/functions.php(161): require_once(‘/homepages/5/d1…’) #4 /homepages/5/d132373014/htdocs/wp-settings.php(499): include(‘/homepages/5/d1…’) #5 /homepages/5/d132373014/htdocs/wp-config.php(84): require_once(‘/homepages/5/d1…’) #6 /homepages/5/d132373014/htdocs/wp-load.php(37): require_once(‘/homepages/5/d1…’) #7 /homepages/5/d132373014/htdocs/wp-admin/admin.php(34): require_once(‘/homepages/5/d1…’) #8 /homepages/5/d13 in /homepages/5/d132373014/htdocs/wp-content/themes/enfold/framework/php/class-superobject.php on line 176I´m very worried now. I hope you have an idea to fix that problem.
With best regards
AxelFebruary 21, 2020 at 6:12 am #1186612Hi Axel,
Sorry for the problem. What happens if you delete the Enfold folder, then upload a fresh copy via FTP?
Best regards,
RikardFebruary 21, 2020 at 5:33 pm #1186819Hi Rikard,
you´ve got ist. Thanks very much.
I did so. 8 time FTP stopped uploading a file in case of an error. So I load all those fieles step by step manually.
Now Enfold runs without any problems.
I think last time such errors of uploading made the problem.
Have a good time. Best regards
AxelFebruary 23, 2020 at 7:09 am #1187057Hi Axel,
Great, I’m glad that you got things working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardFebruary 27, 2020 at 4:20 pm #1188511Hi Rikard,
I´ve checked the page and erverything runs ok. You can close the topic.
Thanks for your help.
Best regards
AxelFebruary 27, 2020 at 9:22 pm #1188647Hi Axel,
Great :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
This topic was modified 6 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
