Getting 404 after site restored on localhost Topic is solved

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Getting 404 after site restored on localhost

Post by aliteejay » Thu Dec 22, 2022 7:17 pm

I am trying to install backup copy of a Joomla 3.10, i downloaded the root folder via ftp, and imported the database, however site is not visible via localhost, am getting 404 not found error, what is the right config here, attached is current configuration
You do not have the required permissions to view the files attached to this post.
Last edited by toivo on Thu Dec 22, 2022 7:52 pm, edited 1 time in total.
Reason: mod note: retitled - please read the forum rules about appropriate subject line from https://forum.joomla.org/viewtopic.php?f=8&t=65

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: configuration

Post by Webdongle » Thu Dec 22, 2022 8:01 pm

https://docs.joomla.org/Copying_a_Jooml ... _Method.29 is probably the best way to transfer.

Having said that
rename your .htaccess

Edit your configuration.php file (you will need to edit write permissions on windows)

public $sef_rewrite = false;

Wamp windows
public $log_path = 'C:\\wamp64\\www\\j426\\administrator/logs';
public $tmp_path = 'C:\\wamp64\\www\\j426/tmp';
(or similar if not wamp64)
Don't know the path Mamp or Ubuntu


If that is too complicated then refer to https://docs.joomla.org/Copying_a_Jooml ... _Method.29
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: configuration

Post by aliteejay » Thu Dec 22, 2022 8:59 pm

Webdongle wrote:
Thu Dec 22, 2022 8:01 pm
https://docs.joomla.org/Copying_a_Jooml ... _Method.29 is probably the best way to transfer.

Having said that
rename your .htaccess

Edit your configuration.php file (you will need to edit write permissions on windows)

public $sef_rewrite = false;

Wamp windows
public $log_path = 'C:\\wamp64\\www\\j426\\administrator/logs';
public $tmp_path = 'C:\\wamp64\\www\\j426/tmp';
(or similar if not wamp64)
Don't know the path Mamp or Ubuntu


If that is too complicated then refer to https://docs.joomla.org/Copying_a_Jooml ... _Method.29
Cheers, have done all this, how do i edit write permissions, am running xampp server on windows, what am i doing wrong or not doing

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9747
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Getting 404 after site restored on localhost

Post by AMurray » Thu Dec 22, 2022 9:51 pm

To edit file/folder permissions in Windows, in Windows Explorer, right click the folder(s), and uncheck the 'read only' check box. (?). Click "yes" if it prompts something about applying the change to all sub-folders and files.

There is no "CHMOD" in Windows as such.
Regards - A Murray
General Support Moderator

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Thu Dec 22, 2022 11:06 pm

AMurray wrote:
Thu Dec 22, 2022 9:51 pm
To edit file/folder permissions in Windows, in Windows Explorer, right click the folder(s), and uncheck the 'read only' check box. (?). Click "yes" if it prompts something about applying the change to all sub-folders and files.

There is no "CHMOD" in Windows as such.
Do you mean unchecking read only on properties, on all root folders & files,

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Getting 404 after site restored on localhost

Post by sozzled » Thu Dec 22, 2022 11:28 pm

404 errors usually have nothing to do with file permissions. If you want better advice, use the Forum Post Assistant tool (see the pink area at the top of this page for more information). You’re wasting your time messing around with file permissions, esp. in a single-user Windows environment.

404 errors usually occur because your menu items are wrong and you need to fix them. For example, menu items or links that use absolute URLs, not relative URLs. That’s just one example. There are other causes but it’s quite unlikely your problems have anything to do with file permissions.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Fri Dec 23, 2022 12:18 am

sozzled wrote:
Thu Dec 22, 2022 11:28 pm
404 errors usually have nothing to do with file permissions. ...
Two totally separate issues squashed into one sentence creating a false premise.

The cause of the 404 could well be 'public $sef_rewrite = true;', so it needs to be set to 'public $sef_rewrite = false;'
In order to do that the configuration.php needs to be edited.
To edit the configuration.php (when it is on a Windows OS) the 'read only' may need to be taken off the file.

To check right click the file. With xampp it will be found somewhere in something like C:\\xampp\ht_docs\yourfoldername
read only 01.JPG
If the readonly box is selected like
read only 02.JPG
Deselect it like
read only 03.JPG
This will allow you to save edits made to the configuration.php.

You need to check the database user and pass in the configuration.php as well.
Default database user: root
Default database password:
Is left blank.


But you will save yourself a lot of time by using Akeeba to copy the site. It has an installer packed in the backup that will put everything in the correct place.
You do not have the required permissions to view the files attached to this post.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Fri Dec 23, 2022 1:54 pm

sozzled wrote:
Thu Dec 22, 2022 11:28 pm
404 errors usually have nothing to do with file permissions. If you want better advice, use the Forum Post Assistant tool (see the pink area at the top of this page for more information). You’re wasting your time messing around with file permissions, esp. in a single-user Windows environment.

404 errors usually occur because your menu items are wrong and you need to fix them. For example, menu items or links that use absolute URLs, not relative URLs. That’s just one example. There are other causes but it’s quite unlikely your problems have anything to do with file permissions.
Forum Post Assistant (v1.6.6) : 23-Dec-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.11-Stable (Daraja) 14-August-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (666) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.11: Yes | Database Supports J! 3.10.11: Yes | Database Credentials Present: Password missing |

Host Configuration :: OS: Windows NT | OS Version: 10.0 | Technology: AMD64 | Web Server: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 401.49 GiB |

PHP Configuration :: Version: 8.1.5 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: C:\xampp\php\logs\php_error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 128M | Max. Input Time: 60 | Max. Execution Time: 120 | Memory Limit: 512M

Database Configuration :: Version: 10.4.24-MariaDB (Client:mysqlnd 8.1.5) | Database Size: 24.33 MiB | #of Tables with config prefix:  191 | #of other Tables:  0 | User Privileges : GRANT PROXY
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.5) | bcmath (8.1.5) | calendar (8.1.5) | ctype (8.1.5) | date (8.1.5) | filter (8.1.5) | hash (8.1.5) | iconv (8.1.5) | json (8.1.5) | SPL (8.1.5) | pcre (8.1.5) | readline (8.1.5) | Reflection (8.1.5) | session (8.1.5) | standard (8.1.5) | mysqlnd (mysqlnd 8.1.5) | tokenizer (8.1.5) | zip (1.19.5) | zlib (8.1.5) | libxml (8.1.5) | dom (20031129) | PDO (8.1.5) | bz2 (8.1.5) | SimpleXML (8.1.5) | xml (8.1.5) | xmlreader (8.1.5) | xmlwriter (8.1.5) | apache2handler (8.1.5) | openssl (8.1.5) | curl (8.1.5) | fileinfo (8.1.5) | gettext (8.1.5) | mbstring (8.1.5) | exif (8.1.5) | mysqli (8.1.5) | pdo_mysql (8.1.5) | pdo_sqlite (8.1.5) | Phar (8.1.5) | ftp (8.1.5) | Zend Engine (4.1.5) |
Potential Missing Extensions :: gd |

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No

Apache Modules :: core | mod_win32 | mpm_winnt | http_core | mod_so | mod_access_compat | mod_actions | mod_alias | mod_allowmethods | mod_asis | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_groupfile | mod_authz_host | mod_authz_user | mod_autoindex | mod_cgi | mod_dav_lock | mod_dir | mod_env | mod_headers | mod_include | mod_info | mod_isapi | mod_log_config | mod_cache_disk | mod_mime | mod_negotiation | mod_proxy | mod_proxy_ajp | mod_rewrite | mod_setenvif | mod_socache_shmcb | mod_ssl | mod_status | mod_version | mod_php | Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 |
Potential Missing Modules :: mod_expires | mod_deflate |
Folder Permissions :: wrote:Core Folders :: images/ (Writable) | components/ (Writable) | modules/ (Writable) | plugins/ (Writable) | language/ (Writable) | templates/ (Writable) | cache/ (Writable) | logs/ (Does Not Exist) | tmp/ (Writable) | administrator/components/ (Writable) | administrator/modules/ (Writable) | administrator/language/ (Writable) | administrator/templates/ (Writable) | administrator/logs/ (Writable) |
Database Information :: wrote:Database statistics :: Uptime: 6815 | Threads: 6 | Questions: 545 | Slow queries: 0 | Opens: 233 | Flush tables: 1 | Open tables: 226 | Queries per second avg: 0.079 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_AGGREGATOR_AUDIO_TITLE (2.9.32) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.32) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.32) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.32) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.32) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.32) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.32) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.32) ? | WF_LINK_SEARCH_TITLE (2.9.32) ? | WF_ANCHOR_TITLE (2.9.32) ? | WF_ARTICLE_TITLE (2.9.32) ? | WF_ATTRIBUTES_TITLE (2.9.32) ? | WF_AUTOSAVE_TITLE (2.9.32) ? | WF_BROWSER_TITLE (2.9.32) ? | WF_CHARMAP_TITLE (2.9.32) ? | WF_CLEANUP_TITLE (2.9.32) ? | WF_CLIPBOARD_TITLE (2.9.32) ? | WF_CONTEXTMENU_TITLE (2.9.32) ? | WF_DIRECTIONALITY_TITLE (2.9.32) ? | WF_EMOTIONS_TITLE (2.9.32) ? | WF_FONTCOLOR_TITLE (2.9.32) ? | WF_FONTSELECT_TITLE (2.9.32) ? | WF_FONTSIZESELECT_TITLE (2.9.32) ? | WF_FORMATSELECT_TITLE (2.9.32) ? | WF_FULLSCREEN_TITLE (2.9.32) ? | WF_HELP_TITLE (2.9.32) ? | WF_HR_TITLE (2.9.32) ? | WF_IMGMANAGER_TITLE (2.9.32) ? | WF_KITCHENSINK_TITLE (2.9.32) ? | WF_LANGCODE_TITLE (2.9.32) ? | WF_LAYER_TITLE (2.7.7) ? | WF_LINK_TITLE (2.9.32) ? | WF_LISTS_TITLE (2.9.32) ? | WF_MEDIA_TITLE (2.9.32) ? | WF_NONBREAKING_TITLE (2.9.32) ? | JCE - Noneditable (1.0.0) ? | WF_PREVIEW_TITLE (2.9.32) ? | WF_PRINT_TITLE (2.9.32) ? | WF_REFERENCE_TITLE (2.9.32) ? | WF_SEARCHREPLACE_TITLE (2.9.32) ? | WF_SOURCE_TITLE (2.9.32) ? | WF_SPELLCHECKER_TITLE (2.9.32) ? | WF_STYLE_TITLE (2.9.32) ? | WF_STYLESELECT_TITLE (2.9.32) ? | WF_TABLE_TITLE (2.9.32) ? | WF_TEXTCASE_TITLE (2.9.32) ? | WF_VISUALBLOCKS_TITLE (2.9.32) ? | WF_VISUALCHARS_TITLE (2.9.32) ? | WF_WORDCOUNT_TITLE (2.9.32) ? | WF_XHTMLXTRAS_TITLE (2.9.30) ? |

Components :: Admin ::
Core :: com_actionlogs (3.9.0) 1 | com_admin (3.0.0) 1 | com_ajax (3.2.0) 1 | com_associations (3.7.0) 1 | com_banners (3.0.0) 1 | com_cache (3.0.0) 1 | com_categories (3.0.0) 1 | com_checkin (3.0.0) 1 | com_config (3.0.0) 1 | com_content (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_fields (3.7.0) 1 | com_finder (3.0.0) 1 | com_installer (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_messages (3.0.0) 1 | com_modules (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_plugins (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_privacy (3.9.0) 1 | com_redirect (3.0.0) 1 | com_search (3.0.0) 1 | com_tags (3.1.0) 1 | com_templates (3.0.0) 1 | com_users (3.0.0) 1 |
3rd Party:: Akeeba (8.2.3) 1 | COM_JCE (2.9.32) 1 | tcpdf (1.2.2) 0 | ECB Currency Converter (1.0) ? | VIRTUEMART (-) 1 | VirtueMart_allinone (-) 1 |

Modules :: Site ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: mod_virtuemart_cart (4.0.8) 1 | mod_virtuemart_category (4.0.8) 1 | mod_virtuemart_currencies (4.0.8) 1 | mod_virtuemart_manufacturer (4.0.8) 1 | mod_virtuemart_product (4.0.8) 1 | mod_virtuemart_search (4.0.8) 1 | VP Ajax Product Search (3.0) 1 | VP Compare (3.0) 1 | VP Custom Filter (3.1) 1 | VP Manufacturer Carousel (3.3) 1 | VP Mini Cart (3.0) 1 | VP Product Carousel (3.0) 1 | VP Product List (3.0) 1 | VP Responsive Slider (3.1) 1 | VP Wishlist (3.2) 1 |

Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party:: VirtueMart Administrator Menu (4.0.8) ? |

Libraries ::
Core ::
3rd Party:: file_fof30 (3.6.2) ? | file_fof40 (4.1.0) ? | Free Mono (-) ? | Helvetica (-) ? |

Plugins ::
Core :: PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_content_confirmconsent (3.9.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_weblink (3.7.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_webinstaller (2.1.2) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagecode (3.0.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 1 | plg_system_redirect (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_updatenotification (3.5.0) 0 | plg_system_weblinks (3.7.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_user_contactcreator (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 1 | plg_user_terms (3.9.0) 1 |
3rd Party:: PLG_ACTIONLOG_AKEEBABACKUP (8.2.3) 1 | plg_content_jce (2.9.32) 1 | Simple Image Gallery (by JoomlaWork (4.2) ? | Simple Image Gallery (by JoomlaWork (4.2) ? | plg_editors_codemirror (5.60.0) 1 | plg_editors_jce (2.9.32) 1 | plg_editors_tinymce (4.5.12) 1 | plg_extension_jce (2.9.32) 1 | plg_fields_mediajce (2.9.32) 1 | plg_installer_jce (2.9.32) 0 | plg_quickicon_akeebabackup (8.2.3) 1 | plg_quickicon_jce (2.9.32) 0 | Search - VirtueMart (4.0.8) 1 | AMAZON (4.0.8) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.2.3) 0 | System - DJ-WebP (1.1) 1 | plg_system_jce (2.9.32) 1 | PLG_SYSTEM_VMLOADERPLUGINUPDATE (4.0.8) ? | PLG_SYSTEM_VPFRAMEWORK (6.6) 1 | VM - Calculation Avalara Tax (4.0.8) 1 | VM - Custom, Virtuemart Simple Down (${PHING.VERSI) ? | plgvm_specification (4.0.8) 1 | VMCustom - textinput (4.0.8) 1 | AMAZON (4.0.8) 1 | Authorize.net AIM (4.0.8) 1 | VM Payment - eway (4.0.8) ? | Heidelpay (16.11.07) 1 | VMPAYMENT_IDEALCHECKOUTAFTERPAY (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTAUTHORIZEDTR (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTCREDITCARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTDIRECTEBANKI (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTIDEAL (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTKLARNAACCOUN (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTKLARNAINVOIC (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMAESTRO (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMANUALTRANSF (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMASTERCARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMISTERCASH (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTPAYPAL (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTPAYSAFECARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTVISA (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTVPAY (2.0.0RC3) ? | Klarna (3.8.4) 1 | Klarna Checkout (3.8.4) 1 | VM Payment - klikandpay (4.0.8) 1 | VM Payment - Paybox System 3D V2 (4.0.8) ? | PayPal (4.0.8) 1 | realex_hpp_api (4.0.0) 1 | Skrill (4.0.8) 1 | Sofort (4.0.8) 1 | Sofort Ideal (4.0.8) 1 | Standard (4.0.8) 1 | 2Checkout (4.0.8) 1 | By weight, ZIP and countries (4.0.8) 1 | Realex_hpp_api (4.0.8) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 1 | horme_3 (2.0.0) 1 | protostar (1.0) 1 | vmbeez3 (3.4.2) 1 | vp_smart (3.6) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis (1.0) 1 | vmadmin (4.0.8) 1 |
hi, attached is result of fpa script, your instruction on php setting was very uplifting, am ultimately hoping to do a successful migration to J4, we use virtuemart component, VM 4. payment option button has seized working on J3.10, after upgrading Php version from 7.4, to 8.0, J4 however works fine, is there a way i can temporary fix this for a live site, only paypal payment options works, when one checks any other option, nothing, as you to choose payment option again, cheers
Last edited by toivo on Fri Dec 23, 2022 9:31 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Fri Dec 23, 2022 3:28 pm

Did you originally install
1. Using Virtuemart quickstart package
or
2. Using Joomla full package then install Virtuemart into Joomla
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Fri Dec 23, 2022 7:27 pm

Webdongle wrote:
Fri Dec 23, 2022 3:28 pm
Did you originally install
1. Using Virtuemart quickstart package
or
2. Using Joomla full package then install Virtuemart into Joomla
I don't understand your question, what am trying to do, is restore a copy of a live site, to local server, have uploaded the database, site is a J3.10 with VM 4.0.8, to the xampp, tried restoration with akeeba & ftp, non be successful so far, just trying to restore the backup, then migrate to J4

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Getting 404 after site restored on localhost

Post by sozzled » Fri Dec 23, 2022 7:59 pm

The database connection credentials (username and password) that appear in plain text in the file configuration.php are invalid for your XAMPP installation.

The database connection credentials look like this:

Code: Select all

	public $user = 'root';
	public $password = '';
	public $db = 'mydata';
	public $dbprefix = 'db_';
Have you created a database named mydata in phpMyAdmin? Is the database username = root and the password for that database = <null-string>? Was the database (named mydata) completely empty (i.e. no tables in it) before you tried to use that database to create your test site on XAMPP? If there were tables in that database (esp. if the tables used the table prefix db_, this may explain the problems you're having.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Fri Dec 23, 2022 8:46 pm

@aliteejay
Your database credentials are correct because
* The fpa can connect to it and define the default Admin Template
isis (1.0) is underlined
There is no frontend Template defined as default ... this could cause problems
* By default there is no database password for xampp

If you used Virtuemart's quick install that could also be a problem.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sat Dec 24, 2022 12:55 pm

Webdongle wrote:
Fri Dec 23, 2022 8:46 pm
@aliteejay
Your database credentials are correct because
* The fpa can connect to it and define the default Admin Template
isis (1.0) is underlined
There is no frontend Template defined as default ... this could cause problems
* By default there is no database password for xampp

If you used Virtuemart's quick install that could also be a problem.
Exactly, previous restored backup on my android pc worked, cos it was using default Joomla template, this backup however has now paid templates, yes am using no password for user on xampp, & yes i change the prefix, & yes i have uploaded the database to phpmyadmin, on my pc, change the prefix to db, do i need to set the frontend template to default Joomla template, i used default admin template as you can see,

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sat Dec 24, 2022 1:05 pm

Virtuemart doesn't work offline, needs to be connected to the internet, so are alot of plugins, which frankly i need help sorting out, you reckon setting the frontend template in the database table will resolve it,

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Sat Dec 24, 2022 3:23 pm

VM might be using hard coded url. Yes try setting default Template to Protostar.

"change the prefix to db," hmmm the database prefix should be the same in the copy as in the live site.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sat Dec 24, 2022 3:43 pm

after setting frontend template to Joomla default template & regenerated fpa report, which is post under, as per the db prefix, i did change it, after uploading it to the hard drive, as in local host, you reckon i should edit it to match the live site, it just weird, have tried restoration via akeeba & fta, both not function, when i try browse localhost/www.mysite.com, it just redirect to the life site at mysite.com, that is the restoration via ftp
Forum Post Assistant (v1.6.6) : 24-Dec-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.11-Stable (Daraja) 14-August-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (666) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.11: Yes | Database Supports J! 3.10.11: Yes | Database Credentials Present: Password missing |

Host Configuration :: OS: Windows NT | OS Version: 10.0 | Technology: AMD64 | Web Server: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 401.43 GiB |

PHP Configuration :: Version: 8.1.5 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: C:\xampp\php\logs\php_error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 128M | Max. Input Time: 60 | Max. Execution Time: 120 | Memory Limit: 512M

Database Configuration :: Version: 10.4.24-MariaDB (Client:mysqlnd 8.1.5) | Database Size: 24.33 MiB | #of Tables with config prefix:  191 | #of other Tables:  0 | User Privileges : GRANT PROXY
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.5) | bcmath (8.1.5) | calendar (8.1.5) | ctype (8.1.5) | date (8.1.5) | filter (8.1.5) | hash (8.1.5) | iconv (8.1.5) | json (8.1.5) | SPL (8.1.5) | pcre (8.1.5) | readline (8.1.5) | Reflection (8.1.5) | session (8.1.5) | standard (8.1.5) | mysqlnd (mysqlnd 8.1.5) | tokenizer (8.1.5) | zip (1.19.5) | zlib (8.1.5) | libxml (8.1.5) | dom (20031129) | PDO (8.1.5) | bz2 (8.1.5) | SimpleXML (8.1.5) | xml (8.1.5) | xmlreader (8.1.5) | xmlwriter (8.1.5) | apache2handler (8.1.5) | openssl (8.1.5) | curl (8.1.5) | fileinfo (8.1.5) | gettext (8.1.5) | mbstring (8.1.5) | exif (8.1.5) | mysqli (8.1.5) | pdo_mysql (8.1.5) | pdo_sqlite (8.1.5) | Phar (8.1.5) | ftp (8.1.5) | Zend Engine (4.1.5) |
Potential Missing Extensions :: gd |

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No

Apache Modules :: core | mod_win32 | mpm_winnt | http_core | mod_so | mod_access_compat | mod_actions | mod_alias | mod_allowmethods | mod_asis | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_groupfile | mod_authz_host | mod_authz_user | mod_autoindex | mod_cgi | mod_dav_lock | mod_dir | mod_env | mod_headers | mod_include | mod_info | mod_isapi | mod_log_config | mod_cache_disk | mod_mime | mod_negotiation | mod_proxy | mod_proxy_ajp | mod_rewrite | mod_setenvif | mod_socache_shmcb | mod_ssl | mod_status | mod_version | mod_php | Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 |
Potential Missing Modules :: mod_expires | mod_deflate |
Folder Permissions :: wrote:Core Folders :: images/ (Writable) | components/ (Writable) | modules/ (Writable) | plugins/ (Writable) | language/ (Writable) | templates/ (Writable) | cache/ (Writable) | logs/ (Does Not Exist) | tmp/ (Writable) | administrator/components/ (Writable) | administrator/modules/ (Writable) | administrator/language/ (Writable) | administrator/templates/ (Writable) | administrator/logs/ (Writable) |
Database Information :: wrote:Database statistics :: Uptime: 1137 | Threads: 6 | Questions: 690 | Slow queries: 0 | Opens: 212 | Flush tables: 1 | Open tables: 205 | Queries per second avg: 0.606 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_AGGREGATOR_AUDIO_TITLE (2.9.32) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.32) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.32) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.32) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.32) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.32) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.32) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.32) ? | WF_LINK_SEARCH_TITLE (2.9.32) ? | WF_ANCHOR_TITLE (2.9.32) ? | WF_ARTICLE_TITLE (2.9.32) ? | WF_ATTRIBUTES_TITLE (2.9.32) ? | WF_AUTOSAVE_TITLE (2.9.32) ? | WF_BROWSER_TITLE (2.9.32) ? | WF_CHARMAP_TITLE (2.9.32) ? | WF_CLEANUP_TITLE (2.9.32) ? | WF_CLIPBOARD_TITLE (2.9.32) ? | WF_CONTEXTMENU_TITLE (2.9.32) ? | WF_DIRECTIONALITY_TITLE (2.9.32) ? | WF_EMOTIONS_TITLE (2.9.32) ? | WF_FONTCOLOR_TITLE (2.9.32) ? | WF_FONTSELECT_TITLE (2.9.32) ? | WF_FONTSIZESELECT_TITLE (2.9.32) ? | WF_FORMATSELECT_TITLE (2.9.32) ? | WF_FULLSCREEN_TITLE (2.9.32) ? | WF_HELP_TITLE (2.9.32) ? | WF_HR_TITLE (2.9.32) ? | WF_IMGMANAGER_TITLE (2.9.32) ? | WF_KITCHENSINK_TITLE (2.9.32) ? | WF_LANGCODE_TITLE (2.9.32) ? | WF_LAYER_TITLE (2.7.7) ? | WF_LINK_TITLE (2.9.32) ? | WF_LISTS_TITLE (2.9.32) ? | WF_MEDIA_TITLE (2.9.32) ? | WF_NONBREAKING_TITLE (2.9.32) ? | JCE - Noneditable (1.0.0) ? | WF_PREVIEW_TITLE (2.9.32) ? | WF_PRINT_TITLE (2.9.32) ? | WF_REFERENCE_TITLE (2.9.32) ? | WF_SEARCHREPLACE_TITLE (2.9.32) ? | WF_SOURCE_TITLE (2.9.32) ? | WF_SPELLCHECKER_TITLE (2.9.32) ? | WF_STYLE_TITLE (2.9.32) ? | WF_STYLESELECT_TITLE (2.9.32) ? | WF_TABLE_TITLE (2.9.32) ? | WF_TEXTCASE_TITLE (2.9.32) ? | WF_VISUALBLOCKS_TITLE (2.9.32) ? | WF_VISUALCHARS_TITLE (2.9.32) ? | WF_WORDCOUNT_TITLE (2.9.32) ? | WF_XHTMLXTRAS_TITLE (2.9.30) ? |

Components :: Admin ::
Core :: com_actionlogs (3.9.0) 1 | com_admin (3.0.0) 1 | com_ajax (3.2.0) 1 | com_associations (3.7.0) 1 | com_banners (3.0.0) 1 | com_cache (3.0.0) 1 | com_categories (3.0.0) 1 | com_checkin (3.0.0) 1 | com_config (3.0.0) 1 | com_content (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_fields (3.7.0) 1 | com_finder (3.0.0) 1 | com_installer (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_messages (3.0.0) 1 | com_modules (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_plugins (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_privacy (3.9.0) 1 | com_redirect (3.0.0) 1 | com_search (3.0.0) 1 | com_tags (3.1.0) 1 | com_templates (3.0.0) 1 | com_users (3.0.0) 1 |
3rd Party:: Akeeba (8.2.3) 1 | COM_JCE (2.9.32) 1 | tcpdf (1.2.2) 0 | ECB Currency Converter (1.0) ? | VIRTUEMART (-) 1 | VirtueMart_allinone (-) 1 |

Modules :: Site ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: mod_virtuemart_cart (4.0.8) 1 | mod_virtuemart_category (4.0.8) 1 | mod_virtuemart_currencies (4.0.8) 1 | mod_virtuemart_manufacturer (4.0.8) 1 | mod_virtuemart_product (4.0.8) 1 | mod_virtuemart_search (4.0.8) 1 | VP Ajax Product Search (3.0) 1 | VP Compare (3.0) 1 | VP Custom Filter (3.1) 1 | VP Manufacturer Carousel (3.3) 1 | VP Mini Cart (3.0) 1 | VP Product Carousel (3.0) 1 | VP Product List (3.0) 1 | VP Responsive Slider (3.1) 1 | VP Wishlist (3.2) 1 |

Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party:: VirtueMart Administrator Menu (4.0.8) ? |

Libraries ::
Core ::
3rd Party:: file_fof30 (3.6.2) ? | file_fof40 (4.1.0) ? | Free Mono (-) ? | Helvetica (-) ? |

Plugins ::
Core :: PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_content_confirmconsent (3.9.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_weblink (3.7.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_webinstaller (2.1.2) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagecode (3.0.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 1 | plg_system_redirect (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_updatenotification (3.5.0) 0 | plg_system_weblinks (3.7.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_user_contactcreator (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 1 | plg_user_terms (3.9.0) 1 |
3rd Party:: PLG_ACTIONLOG_AKEEBABACKUP (8.2.3) 1 | plg_content_jce (2.9.32) 1 | Simple Image Gallery (by JoomlaWork (4.2) ? | Simple Image Gallery (by JoomlaWork (4.2) ? | plg_editors_codemirror (5.60.0) 1 | plg_editors_jce (2.9.32) 1 | plg_editors_tinymce (4.5.12) 1 | plg_extension_jce (2.9.32) 1 | plg_fields_mediajce (2.9.32) 1 | plg_installer_jce (2.9.32) 0 | plg_quickicon_akeebabackup (8.2.3) 1 | plg_quickicon_jce (2.9.32) 0 | Search - VirtueMart (4.0.8) 1 | AMAZON (4.0.8) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.2.3) 0 | System - DJ-WebP (1.1) 1 | plg_system_jce (2.9.32) 1 | PLG_SYSTEM_VMLOADERPLUGINUPDATE (4.0.8) ? | PLG_SYSTEM_VPFRAMEWORK (6.6) 1 | VM - Calculation Avalara Tax (4.0.8) 1 | VM - Custom, Virtuemart Simple Down (${PHING.VERSI) ? | plgvm_specification (4.0.8) 1 | VMCustom - textinput (4.0.8) 1 | AMAZON (4.0.8) 1 | Authorize.net AIM (4.0.8) 1 | VM Payment - eway (4.0.8) ? | Heidelpay (16.11.07) 1 | VMPAYMENT_IDEALCHECKOUTAFTERPAY (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTAUTHORIZEDTR (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTCREDITCARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTDIRECTEBANKI (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTIDEAL (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTKLARNAACCOUN (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTKLARNAINVOIC (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMAESTRO (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMANUALTRANSF (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMASTERCARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMISTERCASH (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTPAYPAL (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTPAYSAFECARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTVISA (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTVPAY (2.0.0RC3) ? | Klarna (3.8.4) 1 | Klarna Checkout (3.8.4) 1 | VM Payment - klikandpay (4.0.8) 1 | VM Payment - Paybox System 3D V2 (4.0.8) ? | PayPal (4.0.8) 1 | realex_hpp_api (4.0.0) 1 | Skrill (4.0.8) 1 | Sofort (4.0.8) 1 | Sofort Ideal (4.0.8) 1 | Standard (4.0.8) 1 | 2Checkout (4.0.8) 1 | By weight, ZIP and countries (4.0.8) 1 | Realex_hpp_api (4.0.8) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 1 | horme_3 (2.0.0) 1 | protostar (1.0) 1 | vmbeez3 (3.4.2) 1 | vp_smart (3.6) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis (1.0) 1 | vmadmin (4.0.8) 1 |
Last edited by toivo on Sat Dec 24, 2022 10:19 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30949
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Getting 404 after site restored on localhost

Post by Per Yngve Berg » Sat Dec 24, 2022 3:52 pm

You have php 8.1. With J3.10 maximum is 8.0

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Sat Dec 24, 2022 5:05 pm

aliteejay wrote:
Sat Dec 24, 2022 3:43 pm
... as per the db prefix, i did change it, after uploading it to the hard drive, as in local host, you reckon i should edit it to match the live site,
...
If the prefix in the live site is abc_ then the prefix in the database on localhost will be abc_. So in the configuration.php it should be abc_ not db_




aliteejay wrote:
Sat Dec 24, 2022 3:43 pm
... it just weird, have tried restoration via akeeba & fta, both not function, when i try browse localhost/www.mysite.com, ...
That is most likely your domain is hard coded somewhere in Virtuemart. Look in your VM files see if they have their own configuration file
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sat Dec 24, 2022 7:22 pm

Webdongle wrote:
Sat Dec 24, 2022 5:05 pm
aliteejay wrote:
Sat Dec 24, 2022 3:43 pm
... as per the db prefix, i did change it, after uploading it to the hard drive, as in local host, you reckon i should edit it to match the live site,
...
If the prefix in the live site is abc_ then the prefix in the database on localhost will be abc_. So in the configuration.php it should be abc_ not db_




aliteejay wrote:
Sat Dec 24, 2022 3:43 pm
... it just weird, have tried restoration via akeeba & fta, both not function, when i try browse localhost/www.mysite.com, ...
That is most likely your domain is hard coded somewhere in Virtuemart. Look in your VM files see if they have their own configuration file
Okay, should i also include the password, as the online site database xx_ has one, i built a J4 site, on same xampp server, and all folders & files read properties are unchecked, site works fine, why do i need checked this for the restored backup?what you mean by VM files, do you mean in htdoc/mysite/components, VM is the web shop, yes i upgraded with VM update pakket, on the life site, am trying to restore a backup, then migrate & upgrade to J4

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Sat Dec 24, 2022 7:37 pm

aliteejay wrote:
Sat Dec 24, 2022 7:22 pm
Okay, should i also include the password, as the online site database xx_ has one, i built a J4 site, on same xampp server, and all folders & files read properties are unchecked, site works fine, why do i need checked this for the restored backup?
No not on xampp localhost, the default is no password
Checking read only was for if you needed to edit the ptmp and logs paths configuration.php file when you copied the site to localhost. Because if you needed to edit the configuration.php then it would not save if read only.


aliteejay wrote:
Sat Dec 24, 2022 7:22 pm
...what you mean by VM files, do you mean in htdoc/mysite/components, VM is the web shop, yes i upgraded with VM update pakket, on the life site, am trying to restore a backup, then migrate & upgrade to J4
VM might have hardcoded the url when it was installed on your site originally. That could be why your localhost is redirecting to your url (live site)
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sat Dec 24, 2022 8:16 pm

After setting database prefix to same as the online one, 84% chance of site working localhost server, there is configuration for VM, but Joomla config is the dafault, however in the component folder, there is a virtuemart.php file, here is latest fpa generated report
Forum Post Assistant (v1.6.6) : 24-Dec-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.11-Stable (Daraja) 14-August-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (666) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.11: Yes | Database Supports J! 3.10.11: Yes | Database Credentials Present: Password missing |

Host Configuration :: OS: Windows NT | OS Version: 10.0 | Technology: AMD64 | Web Server: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 401.44 GiB |

PHP Configuration :: Version: 8.1.5 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: C:\xampp\php\logs\php_error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 128M | Max. Input Time: 60 | Max. Execution Time: 120 | Memory Limit: 512M

Database Configuration :: Version: 10.4.24-MariaDB (Client:mysqlnd 8.1.5) | Database Size: 24.33 MiB | #of Tables with config prefix:  191 | #of other Tables:  0 | User Privileges : GRANT PROXY
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.5) | bcmath (8.1.5) | calendar (8.1.5) | ctype (8.1.5) | date (8.1.5) | filter (8.1.5) | hash (8.1.5) | iconv (8.1.5) | json (8.1.5) | SPL (8.1.5) | pcre (8.1.5) | readline (8.1.5) | Reflection (8.1.5) | session (8.1.5) | standard (8.1.5) | mysqlnd (mysqlnd 8.1.5) | tokenizer (8.1.5) | zip (1.19.5) | zlib (8.1.5) | libxml (8.1.5) | dom (20031129) | PDO (8.1.5) | bz2 (8.1.5) | SimpleXML (8.1.5) | xml (8.1.5) | xmlreader (8.1.5) | xmlwriter (8.1.5) | apache2handler (8.1.5) | openssl (8.1.5) | curl (8.1.5) | fileinfo (8.1.5) | gettext (8.1.5) | mbstring (8.1.5) | exif (8.1.5) | mysqli (8.1.5) | pdo_mysql (8.1.5) | pdo_sqlite (8.1.5) | Phar (8.1.5) | ftp (8.1.5) | Zend Engine (4.1.5) |
Potential Missing Extensions :: gd |

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No

Apache Modules :: core | mod_win32 | mpm_winnt | http_core | mod_so | mod_access_compat | mod_actions | mod_alias | mod_allowmethods | mod_asis | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_groupfile | mod_authz_host | mod_authz_user | mod_autoindex | mod_cgi | mod_dav_lock | mod_dir | mod_env | mod_headers | mod_include | mod_info | mod_isapi | mod_log_config | mod_cache_disk | mod_mime | mod_negotiation | mod_proxy | mod_proxy_ajp | mod_rewrite | mod_setenvif | mod_socache_shmcb | mod_ssl | mod_status | mod_version | mod_php | Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 |
Potential Missing Modules :: mod_expires | mod_deflate |
Folder Permissions :: wrote:Core Folders :: images/ (Writable) | components/ (Writable) | modules/ (Writable) | plugins/ (Writable) | language/ (Writable) | templates/ (Writable) | cache/ (Writable) | logs/ (Does Not Exist) | tmp/ (Writable) | administrator/components/ (Writable) | administrator/modules/ (Writable) | administrator/language/ (Writable) | administrator/templates/ (Writable) | administrator/logs/ (Writable) |
Database Information :: wrote:Database statistics :: Uptime: 2542 | Threads: 6 | Questions: 1799 | Slow queries: 0 | Opens: 403 | Flush tables: 1 | Open tables: 205 | Queries per second avg: 0.707 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_AGGREGATOR_AUDIO_TITLE (2.9.32) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.32) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.32) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.32) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.32) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.32) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.32) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.32) ? | WF_LINK_SEARCH_TITLE (2.9.32) ? | WF_ANCHOR_TITLE (2.9.32) ? | WF_ARTICLE_TITLE (2.9.32) ? | WF_ATTRIBUTES_TITLE (2.9.32) ? | WF_AUTOSAVE_TITLE (2.9.32) ? | WF_BROWSER_TITLE (2.9.32) ? | WF_CHARMAP_TITLE (2.9.32) ? | WF_CLEANUP_TITLE (2.9.32) ? | WF_CLIPBOARD_TITLE (2.9.32) ? | WF_CONTEXTMENU_TITLE (2.9.32) ? | WF_DIRECTIONALITY_TITLE (2.9.32) ? | WF_EMOTIONS_TITLE (2.9.32) ? | WF_FONTCOLOR_TITLE (2.9.32) ? | WF_FONTSELECT_TITLE (2.9.32) ? | WF_FONTSIZESELECT_TITLE (2.9.32) ? | WF_FORMATSELECT_TITLE (2.9.32) ? | WF_FULLSCREEN_TITLE (2.9.32) ? | WF_HELP_TITLE (2.9.32) ? | WF_HR_TITLE (2.9.32) ? | WF_IMGMANAGER_TITLE (2.9.32) ? | WF_KITCHENSINK_TITLE (2.9.32) ? | WF_LANGCODE_TITLE (2.9.32) ? | WF_LAYER_TITLE (2.7.7) ? | WF_LINK_TITLE (2.9.32) ? | WF_LISTS_TITLE (2.9.32) ? | WF_MEDIA_TITLE (2.9.32) ? | WF_NONBREAKING_TITLE (2.9.32) ? | JCE - Noneditable (1.0.0) ? | WF_PREVIEW_TITLE (2.9.32) ? | WF_PRINT_TITLE (2.9.32) ? | WF_REFERENCE_TITLE (2.9.32) ? | WF_SEARCHREPLACE_TITLE (2.9.32) ? | WF_SOURCE_TITLE (2.9.32) ? | WF_SPELLCHECKER_TITLE (2.9.32) ? | WF_STYLE_TITLE (2.9.32) ? | WF_STYLESELECT_TITLE (2.9.32) ? | WF_TABLE_TITLE (2.9.32) ? | WF_TEXTCASE_TITLE (2.9.32) ? | WF_VISUALBLOCKS_TITLE (2.9.32) ? | WF_VISUALCHARS_TITLE (2.9.32) ? | WF_WORDCOUNT_TITLE (2.9.32) ? | WF_XHTMLXTRAS_TITLE (2.9.30) ? |

Components :: Admin ::
Core :: com_actionlogs (3.9.0) 1 | com_admin (3.0.0) 1 | com_ajax (3.2.0) 1 | com_associations (3.7.0) 1 | com_banners (3.0.0) 1 | com_cache (3.0.0) 1 | com_categories (3.0.0) 1 | com_checkin (3.0.0) 1 | com_config (3.0.0) 1 | com_content (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_fields (3.7.0) 1 | com_finder (3.0.0) 1 | com_installer (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_messages (3.0.0) 1 | com_modules (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_plugins (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_privacy (3.9.0) 1 | com_redirect (3.0.0) 1 | com_search (3.0.0) 1 | com_tags (3.1.0) 1 | com_templates (3.0.0) 1 | com_users (3.0.0) 1 |
3rd Party:: Akeeba (8.2.3) 1 | COM_JCE (2.9.32) 1 | tcpdf (1.2.2) 0 | ECB Currency Converter (1.0) ? | VIRTUEMART (-) 1 | VirtueMart_allinone (-) 1 |

Modules :: Site ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: mod_virtuemart_cart (4.0.8) 1 | mod_virtuemart_category (4.0.8) 1 | mod_virtuemart_currencies (4.0.8) 1 | mod_virtuemart_manufacturer (4.0.8) 1 | mod_virtuemart_product (4.0.8) 1 | mod_virtuemart_search (4.0.8) 1 | VP Ajax Product Search (3.0) 1 | VP Compare (3.0) 1 | VP Custom Filter (3.1) 1 | VP Manufacturer Carousel (3.3) 1 | VP Mini Cart (3.0) 1 | VP Product Carousel (3.0) 1 | VP Product List (3.0) 1 | VP Responsive Slider (3.1) 1 | VP Wishlist (3.2) 1 |

Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party:: VirtueMart Administrator Menu (4.0.8) ? |

Libraries ::
Core ::
3rd Party:: file_fof30 (3.6.2) ? | file_fof40 (4.1.0) ? | Free Mono (-) ? | Helvetica (-) ? |

Plugins ::
Core :: PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_content_confirmconsent (3.9.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_weblink (3.7.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_webinstaller (2.1.2) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagecode (3.0.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 1 | plg_system_redirect (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_updatenotification (3.5.0) 0 | plg_system_weblinks (3.7.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_user_contactcreator (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 1 | plg_user_terms (3.9.0) 1 |
3rd Party:: PLG_ACTIONLOG_AKEEBABACKUP (8.2.3) 1 | plg_content_jce (2.9.32) 1 | Simple Image Gallery (by JoomlaWork (4.2) ? | Simple Image Gallery (by JoomlaWork (4.2) ? | plg_editors_codemirror (5.60.0) 1 | plg_editors_jce (2.9.32) 1 | plg_editors_tinymce (4.5.12) 1 | plg_extension_jce (2.9.32) 1 | plg_fields_mediajce (2.9.32) 1 | plg_installer_jce (2.9.32) 0 | plg_quickicon_akeebabackup (8.2.3) 1 | plg_quickicon_jce (2.9.32) 0 | Search - VirtueMart (4.0.8) 1 | AMAZON (4.0.8) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.2.3) 0 | System - DJ-WebP (1.1) 1 | plg_system_jce (2.9.32) 1 | PLG_SYSTEM_VMLOADERPLUGINUPDATE (4.0.8) ? | PLG_SYSTEM_VPFRAMEWORK (6.6) 1 | VM - Calculation Avalara Tax (4.0.8) 1 | VM - Custom, Virtuemart Simple Down (${PHING.VERSI) ? | plgvm_specification (4.0.8) 1 | VMCustom - textinput (4.0.8) 1 | AMAZON (4.0.8) 1 | Authorize.net AIM (4.0.8) 1 | VM Payment - eway (4.0.8) ? | Heidelpay (16.11.07) 1 | VMPAYMENT_IDEALCHECKOUTAFTERPAY (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTAUTHORIZEDTR (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTCREDITCARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTDIRECTEBANKI (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTIDEAL (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTKLARNAACCOUN (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTKLARNAINVOIC (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMAESTRO (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMANUALTRANSF (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMASTERCARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTMISTERCASH (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTPAYPAL (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTPAYSAFECARD (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTVISA (2.0.0RC3) ? | VMPAYMENT_IDEALCHECKOUTVPAY (2.0.0RC3) ? | Klarna (3.8.4) 1 | Klarna Checkout (3.8.4) 1 | VM Payment - klikandpay (4.0.8) 1 | VM Payment - Paybox System 3D V2 (4.0.8) ? | PayPal (4.0.8) 1 | realex_hpp_api (4.0.0) 1 | Skrill (4.0.8) 1 | Sofort (4.0.8) 1 | Sofort Ideal (4.0.8) 1 | Standard (4.0.8) 1 | 2Checkout (4.0.8) 1 | By weight, ZIP and countries (4.0.8) 1 | Realex_hpp_api (4.0.8) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 1 | horme_3 (2.0.0) 1 | protostar (1.0) 1 | vmbeez3 (3.4.2) 1 | vp_smart (3.6) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis (1.0) 1 | vmadmin (4.0.8) 1 |
Last edited by toivo on Sat Dec 24, 2022 10:19 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Sat Dec 24, 2022 10:36 pm

Does the virtuemart.php file file have your url hard coded in it
Is your localhost copy of your site working or not>
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sun Dec 25, 2022 10:54 am

Webdongle wrote:
Sat Dec 24, 2022 10:36 pm
Does the virtuemart.php file file have your url hard coded in it
Is your localhost copy of your site working or not>
thanks for your inputs, first of all, the website itself, is live, issue is restoring a backup, on the localhost, that is not working, i don't understand what you mean by hard codded, in phpmyadmin, do i activate default J3 template, in xx_extension table as well, reason being multi-lingual content, i only set that in template table, template styles, also notice most module folders, have 777 attributes, the localhost restoration is not working

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Getting 404 after site restored on localhost

Post by aliteejay » Sun Dec 25, 2022 11:04 am

here is the content of virtuemart.php file

<?php
if( !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
/**
*
* @version $Id: virtuemart.php 10737 2022-11-14 08:19:25Z Milbo $
* @package VirtueMart
* @subpackage core
* @author Max Milbers
* @copyright Copyright (C) 2009-22 by the authors of the VirtueMart Team listed at /administrator/com_virtuemart/copyright.php - All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
*
* http://virtuemart.net
*/

/* Require the config */

if (!class_exists( 'VmConfig' )) require(JPATH_ROOT .'/administrator/components/com_virtuemart/helpers/config.php');

VmConfig::loadConfig();
vRequest::setRouterVars();

vmRam('Start');
//vmTime('joomla start until Vm is called','joomlaStart');
vmSetStartTime('vmStart');

vmLanguage::loadJLang('com_virtuemart', true);

//$_controller = vRequest::getCmd('view', vRequest::getCmd('controller', 'category')) ;
$_controller = vRequest::getCmd('view', false) ; //Old legacy, that 'view' is priorised


$task = vRequest::getCmd('task','') ;

vmdebug('Controller and Task in main controller',$_controller, $task);

$trigger = 'onVmSiteController';
// $task = vRequest::getCmd('task',vRequest::getCmd('layout',$_controller) ); $this makes trouble!


$session = JFactory::getSession();
$manage = vRequest::getCmd('manage',$session->get('manage', false,'vm'));
if(!$manage) $session->set('manage', 0,'vm');

$feViews = array('askquestion','cart','invoice','pdf','pluginresponse','productdetails','recommend','vendor','vmplg');
$app = JFactory::getApplication();
if($manage and $task!='feed' and !in_array($_controller,$feViews)){

if ( shopFunctionsF::isFEmanager() ) {
vmdebug('I am a FE-Manager');
$session->set('manage', 1,'vm');
vRequest::setVar('manage','1');
vRequest::setVar('tmpl','component') ;

//vmLanguage::loadJLang('com_virtuemart');
$jlang = vmLanguage::getLanguage();
$tag = $jlang->getTag();
$jlang->load('', JPATH_ADMINISTRATOR,$tag,true);
vmLanguage::loadJLang('com_virtuemart');
$basePath = VMPATH_ADMIN;
$trigger = 'onVmAdminController';


vmJsApi::jQuery(false);
vmJsApi::loadBECSS();

if(JVM_VERSION<4){
$router = $app->getRouter();
$router->setMode(0);
}


if(empty($_controller)){
$_controller = vRequest::getCmd('controller', 'virtuemart');
vRequest::setVar('view',$_controller);
}
} else {
$session->set('manage', 0,'vm');
vRequest::setVar('manage',0);
$basePath = VMPATH_SITE;
$app->redirect('index.php?option=com_virtuemart', vmText::_('COM_VIRTUEMART_RESTRICTED_ACCESS') );
}

} else{

if(empty($_controller)){
$_controller = vRequest::getCmd('controller', 'category');
vRequest::setVar('view',$_controller);
}
vmJsApi::jQuery();
vmJsApi::jSite();
vmJsApi::cssSite();
$basePath = VMPATH_SITE;
}


// controller alias
if ($_controller=='pluginresponse') {
$_controller='vmplg';
}
/* Create the controller name */
$_class = 'VirtuemartController'.ucfirst($_controller);

if (file_exists($basePath.'/controllers/'.$_controller.'.php')) {
if (!class_exists($_class)) {
require ($basePath.'/controllers/'.$_controller.'.php');
}
}
else {
// try plugins
JPluginHelper::importPlugin('vmextended');
$rets = vDispatcher::trigger($trigger, array($_controller));

foreach($rets as $ret){
if($ret) return true;
}
vmError('Tried to load controller '.$_controller.' on base path '.$basePath.'. No File available '.$_class);
}


if (class_exists($_class)) {
$controller = new $_class();

$controller->execute($task);

if(class_exists('vmrouterHelper') and vmrouterHelper::$updateCache and VmConfig::get('useCacheVmGetCategoryRoute',1)){
vmrouterHelper::updateCache();
}

//vmTime($_class.' Finished task '.$task,'Start');
vmRam('End');
vmRamPeak('Peak');
vmTime('"'.$_class.'" Finished task '.$task.' in '.$basePath,'vmStart');

/* Redirect if set by the controller */
$controller->redirect();
} else {
vmDebug('VirtueMart controller not found: '. $_class. ' file loaded on '.$basePath.'/controllers/'.$_controller.'.php');
if (VmConfig::get('handle_404',1)) {
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
$basePath = VMPATH_SITE;
if (file_exists($basePath.'/controllers/category.php')) {
if (!class_exists($_class)) {
require ($basePath.'/controllers/category.php');
}
}
$controller = new VirtueMartControllerCategory();
$controller->execute($task);


$controller->redirect();

} else {
throw new RuntimeException(sprintf('VirtueMart controller not found `%s`.', $_class), 404);
}
}

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Akeeba backup restoration of J3 site

Post by aliteejay » Sun Dec 25, 2022 11:31 am

I need help install a backup of J3.10 site on local xampp server with akeeba, have uploaded the database to phpmyadmin, uploaded the kickstart file, have also uploaded the file, however the process is not gone well
Last edited by toivo on Mon Jan 09, 2023 10:04 pm, edited 1 time in total.
Reason: mod note: merged with the current topic, cross posting not allowed in forum rules, available from https://forum.joomla.org/viewtopic.php?f=8&t=65

aliteejay
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 173
Joined: Thu May 05, 2011 7:19 pm

Re: Akeeba backup restoration of J3 site

Post by aliteejay » Sun Dec 25, 2022 11:33 am

do i rename the debug file that was generated in the backup process for kickstart to work

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30949
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Akeeba backup restoration of J3 site

Post by Per Yngve Berg » Sun Dec 25, 2022 11:44 am

You only need only 2 files, the Backup and kickstart.php on an empty site and an empty database.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44099
Joined: Sat Apr 05, 2008 9:58 pm

Re: Getting 404 after site restored on localhost

Post by Webdongle » Sun Dec 25, 2022 6:24 pm

I installed VM on a test site. It looks like it uses relative paths not absolute ones. You haven't got a .htaccess so it's a mystery why your localhost site is redirecting to your live site?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

gws
Joomla! Champion
Joomla! Champion
Posts: 5954
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Getting 404 after site restored on localhost

Post by gws » Sun Dec 25, 2022 6:36 pm

Per Yngve Berg wrote:
Sat Dec 24, 2022 3:52 pm
You have php 8.1. With J3.10 maximum is 8.0

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9747
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Akeeba backup restoration of J3 site

Post by AMurray » Sun Dec 25, 2022 10:28 pm

Also be aware, ensure you're using a correct release of XAMPP because it only ships with a specific PHP version (e.g. with 7.4 or 8.0 or 8.1 according to their download page (at the time of writing).

As Joomla 3.10 doesn't run on PHP 8.1 or higher, I would suggest using WAMPServer instead of XAMPP, because one advantage is you can install additional PHP versions by way of add-ins and can choose the PHP version you want to work with on the fly without reinstalling the server software (as you would need to do with XAMPP).
Regards - A Murray
General Support Moderator


Locked

Return to “Installation Joomla! 3.x”