-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to preview of imported page #9
Comments
Hi ayeon, File import has a bug in the beta6 issue that has been fixed, see issue 7, what I suggest you do is the following :-
At the mo only ascii files are imported correctly, binary files such as gif files will probably fail with a '0 length' error. This is known but not fixed yet. You don't need to touch index.php or anything else. Hope this helps. |
Thank for quick reply. The error in file import wasn't my concern at this moment. Everything imported thru Provisioner was located under "provisioner" context. If I create a document(webpage) with simple text only under "provisioner", and select "preview", then the fatal error occurs. Finally I seem to avoid the error though. I simply set 0 to "haskeywords", "hasmetatags" fields in modx_site_content table. They were set to 1 if I create any document under "provisioner" context. I don't know the details but now I can view my page without error thru web browser. Thanks again for all the support. |
Sorry. Now I understand better. Somehow the records from the tables modx_site_keywords, modx_site_metatags weren't imported to the new db. This causes the error. :) |
Yes, correct, this doesn't happen, there is an issue already raised about importing associated data with a resource, I'll leave this open and see what we can do here with meta tags and keywords. |
I've migrated one website (MODx 0.963) with provisioner(v1.6), but getting error when I tried to view any page:
Fatal error: Cannot pass parameter 1 by reference in
C:\test\modx\core\model\modx\modx.class.php on line 2237
These are the steps I took:
** commented out the following line
//$modx->initialize('web');
** add the following line
$modx->initialize('provisioner');
Can you pls help me to figure out the problem? I am new to MODx and need to upgrade the site. I've tried migration several times but no avail. After migration, should I do something else to make the site work?
Thanks in advance
The text was updated successfully, but these errors were encountered: