The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Migrate
#1
This plugin automates the URLs modifying in cases when site changes the domain address.
As you know graphic editors (like CKEditor) for pictures and links address conclusion use absolute path, so when you migrate site you must have to manually change each user created data file. Plugin will do this routine work for you instantly.
The script is looking for the entered phrase in each data file in directory "data/pages" (user created data files), also replaced the basic site address in file „website.xml“.
[Image: migrate_en.jpg]
The program works in 2 modes:
  1. Replace existing files - this mode directly replace the existing files on the server domain. Suitable for sites where the structure is already copied to the new server.
  2. Change files for later use - creates data files, change their URLs and creates an archive file that can be downloaded. Suitable when planned to create modified data files while leaving the existing server data sources.
Additional field Include all XML files (also unmodified)  is active when the second mode is used. If it is not checked in the archive file includes only those files in which have been found the search phrase. If checked included all existing user XML files.
The area Prepared files for downloading can be used for already created archives management (downloading and deleting).
Plugin supports i18n and comes with 3 language files (English, Lithuanian and Russian).
Installation instructions:
Download the archive and unzip it to the plugins folder. Activate the plugin. Plugin can be reached on Backup tab with button Migrate site.

More detailed descriptions in English, Lithuanian and Russian and download you can find on my site:
http://pigios-svetaines.eu/projects/getsimple/plugins-1/migrate-site

Or from GS repository:
http://get-simple.info/extend/plugin/migrate/966/
Reply
#2
Just tried to use this plugin on a GS v3.2.1 site, but when hitting the "Change" button my browser goes to: http://www.DOMAIN.COM/admin/load.php?id=migrate and shows a 404 error.

Not much to go on, but got any ideas please?
Reply
#3
It probably is a 3.3+ plugin, why not upgrade first?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
Thanks Shaun, some good common sense advice, but sadly it didn't work after upgrading to v3.3.7.

I also made a clean install of stock v3.3.7 and this plugin still goes to: http://www.DOMAIN.COM/admin/load.php?id=migrate and gives a 404 error. Such a shame as the whole idea of this plugin is great.
Reply
#5
works for me
thats the normal path for all plugins
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
(2015-11-15, 19:45:21)davetest Wrote: Thanks Shaun, some good common sense advice, but sadly it didn't work after upgrading to v3.3.7.

I also made a clean install of stock v3.3.7 and this plugin still goes to: http://www.DOMAIN.COM/admin/load.php?id=migrate and gives a 404 error. Such a shame as the whole idea of this plugin is great.

Hi, davetest.
I tried this plugin on a variety of server types, like localhost (XAMPP); localhost with specific port (localhost:1234); on real servers when GS installed in root and on real servers when GS installed in subdirectory.
Everywhere it's works without errors.

Form used this activating code:

Code:
<form action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']); ?>" method="post">

So, maybe your server use HTTPS protocol (I'm not tryed this plugin on HTTPS) or your server use some unusual redirecting.

You can try remove action option from form call. And try again.
Reply
#7
Thanks asemion. I tried again leaving off the http:// from both the old and new urls and it works fine, so I wonder if mod_sec or somesuch is my problem. If so I guess I could ask my host to allow an exception, but as the main purpose of the pluging is when migrating a site, I think I'll muddle through :-) ...I'll report back if I find more on my problem. Thanks
Reply
#8
What version of gs? You sure its 3.3.7?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#9
Sometimes a reflected xsa is detected when an argument matches a filename like migrate.php
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#10
(2015-11-21, 09:40:25)shawn_a Wrote: What version of gs? You sure its 3.3.7?

Hi Shaun. Yes definitely v3.3.7
Reply
#11
I would have to check the plugin and see if its doing something bad like
include($_GET['action']);
modern filters most certainly block that stuff
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#12
have you checked your actual host logs to see what the 404 says m usually a filter gives a reason.
Sometimes files are blocked because the file permissions are set to high, like 777
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#13
(2015-11-21, 23:52:54)shawn_a Wrote: have you checked your actual host logs to see what the 404 says m usually a filter gives a reason.
Sometimes files are blocked because the file permissions are set to high, like 777

Error I see in the page is:

Code:
Forbidden. You don't have permission to access /gs337/admin/load.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

and from server error log:

Code:
...File does not exist: /home/XXXXXXX/public_html/403.shtml, referer: http://XXXXXXXX/gs337/admin/load.php?id=migrate

Googling "403.shtml" throws up loads of mentions of CPanel XSA probs - is this any help?

Meanwhile I've migrated my current job (with loads of image and other links) just fine by leaving out http:// as I mentioned above, so I'm a happy bunny for now :-)
Reply
#14
do any other plugin load.php pages work ? sounds like a permissions issue.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#15
(2015-11-22, 22:39:44)davetest Wrote: Error I see in the page is:


Code:
Forbidden. You don't have permission to access /gs337/admin/load.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

and from server error log:


Code:
...File does not exist: /home/XXXXXXX/public_html/403.shtml, referer: http://XXXXXXXX/gs337/admin/load.php?id=migrate

Googling "403.shtml" throws up loads of mentions of CPanel XSA probs - is this any help?

Meanwhile I've migrated my current job (with loads of image and other links) just fine by leaving out http:// as I mentioned above, so I'm a happy bunny for now :-)

If you have problems with your server (as in this case with the lack of rights), you can do the migrate job otherwise.
In the original project server (localhost or on actual source server) create modified files archive. For this check the field "Change files for later use" and click "Change" button.
In the area "Prepared files for downloading" should appear new archive file which you can download.
Then, on real server, using a file transfer tools you can upload and extract archive with modified data files manually.
Reply
#16
davetest please include the ability to send you private messages
Reply
#17
I just used this plugin to migrate my site from one vhost to an other, and it works very well ! I was fearing to have to dive into xml and regex to change all the absolute link by hand ^^

Thanks a lot, you make me save a lot of time!
__
Contact me if you need a french translation file for your plugin.
Reply
#18
Добрый день Андрей.
Спасибо за плагин, очень помогает при переносе сайта на другой хостинг.
Столкнулся с такой проблемой: не происходит замены URL внутри контента, созданного плагином Random Content http://get-simple.info/extend/plugin/ran...ntent/303/ Нет ли возможности пофиксить этот баг?
Reply
#19
Plugin updated to version 0.2

Version changes:
  1.  Added support for "Random Content" plugin.
Reply
#20
(2016-03-24, 22:12:13)asemion Wrote: Plugin updated to version 0.2

Version changes:

  1.  Added support for "Random Content" plugin.

Hi,
I copyed GS to another folder (another URL), tryed Migrate,
but get message "Failed to create Folder" by option Replace existing files
Reply
#21
(2016-03-24, 23:18:15)marlib Wrote: I copyed GS to another folder (another URL), tryed Migrate,
but get message "Failed to create Folder" by option Replace existing files


This happens when first time created internal catalogs: arch and mods. This is the work directories migrate folder inside.
On most of servers everything is created without problems (localhosts and real servers).
Your server is probably some kind of special.
You can try to copy to the directory plugins/migrate  .htaccess file with the following contents: "Allow from All".
And try again.
If this action is not successful, you can simply create the above mentioned catalogs itself.

Next time I probably will add these directories to the plugin itself.
Reply
#22
Does this plugin affect the file /theme/(Innovation)/style.css? Thanks.
Reply
#23
(2017-05-28, 04:04:50)lotova Wrote: Does this plugin affect the file /theme/(Innovation)/style.css? Thanks.

Definitely NO.
Plugin use inline styles definitions. And only on the plugin administration page.
So it does not affect any other resources, especially on the FrontEnd side.
Reply
#24
Plugin updated to version 0.4
Version changes:
    1. Add News Manager plugin support.
Reply




Users browsing this thread: 1 Guest(s)