The following warnings occurred:
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Migrate - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Migrate (/showthread.php?tid=7476)



Migrate - asemion - 2015-08-12

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/


RE: Migrate - davetest - 2015-11-15

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?


RE: Migrate - shawn_a - 2015-11-15

It probably is a 3.3+ plugin, why not upgrade first?


RE: Migrate - davetest - 2015-11-15

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.


RE: Migrate - shawn_a - 2015-11-16

works for me
thats the normal path for all plugins


RE: Migrate - asemion - 2015-11-20

(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.


RE: Migrate - davetest - 2015-11-21

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


RE: Migrate - shawn_a - 2015-11-21

What version of gs? You sure its 3.3.7?


RE: Migrate - shawn_a - 2015-11-21

Sometimes a reflected xsa is detected when an argument matches a filename like migrate.php


RE: Migrate - davetest - 2015-11-21

(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


RE: Migrate - shawn_a - 2015-11-21

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


RE: Migrate - shawn_a - 2015-11-21

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


RE: Migrate - davetest - 2015-11-22

(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 :-)


RE: Migrate - shawn_a - 2015-11-22

do any other plugin load.php pages work ? sounds like a permissions issue.


RE: Migrate - asemion - 2015-11-23

(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.


RE: Migrate - Oleg06 - 2016-01-14

davetest please include the ability to send you private messages


RE: Migrate - Charpy1 - 2016-02-19

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!


RE: Migrate - Stalker-sibay - 2016-03-22

Добрый день Андрей.
Спасибо за плагин, очень помогает при переносе сайта на другой хостинг.
Столкнулся с такой проблемой: не происходит замены URL внутри контента, созданного плагином Random Content http://get-simple.info/extend/plugin/random-content/303/ Нет ли возможности пофиксить этот баг?


RE: Migrate - asemion - 2016-03-24

Plugin updated to version 0.2

Version changes:
  1.  Added support for "Random Content" plugin.



RE: Migrate - marlib - 2016-03-24

(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


RE: Migrate - asemion - 2016-03-25

(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.


RE: Migrate - lotova - 2017-05-28

Does this plugin affect the file /theme/(Innovation)/style.css? Thanks.


RE: Migrate - asemion - 2017-05-30

(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.


RE: Migrate - asemion - 2019-10-24

Plugin updated to version 0.4
Version changes:
    1. Add News Manager plugin support.