-
Notifications
You must be signed in to change notification settings - Fork 204
if move site with phx then have bug and we are can't set default path #1017
Comments
I didn't realise that that was a bug I had that each time I moved from localhost to live server, as the path to PHX was different. I always logged into the manager and reset the paths and all was then OK. But, I no-longer use PHX so don't have that problem anymore LOL |
its bug with new filter(phx in core)
i too no more use PHx ))
but someone use
…--
Lukianenko Dmytro
Web developer
Site: http://dmi3yy.com
Skype: dmi3yy
Phone: +38 (091) 357-10-80
среда, 30 ноября 2016 г. в 16:28, modxuser написал:
I didn't realise that that was a bug
I had that each time I moved from localhost to live server, as the path to PHX was different. I always logged into the manager and reset the paths and all was then OK.
But, I no-longer use PHX so don't have that problem anymore LOL
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#1017 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAo3M8x039pnCd3Ccq5K_cgzGzImbISDks5rDYfzgaJpZM4LAPac).
|
|
1 need before move )
if гаеук you can do 2 step
…--
Lukianenko Dmytro
Web developer
Site: http://dmi3yy.com
Skype: dmi3yy
Phone: +38 (091) 357-10-80
среда, 30 ноября 2016 г. в 16:36, Sergey Davydov написал:
disable phx
correct paths
enable phx
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#1017 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAo3M00N_s8T3O4yR5_duvimW6S844htks5rDYn9gaJpZM4LAPac).
|
need catch error.. |
maybe add this |
yes
…--
Lukianenko Dmytro
Web developer
Site: http://dmi3yy.com
Skype: dmi3yy
Phone: +38 (091) 357-10-80
понедельник, 5 декабря 2016 г. в 12:19, yamamoto написал:
if(is_file(MODX_BASE_PATH . 'assets/plugins/phx/phx.class.inc.php')
maybe add this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#1017 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAo3M9VOA3UzX1H9ZLER_vf_N4ykE5D0ks5rE-UegaJpZM4LAPac).
|
It should be same error on the front page, how is it? |
if frontend no problem )
go setting and check MODX_BASE_PATH
but when error in setting in first tab you cant fix MODX_BASE_PATH )
you see only first tab and error %)
…--
Lukianenko Dmytro
Web developer
Site: http://dmi3yy.com
Skype: dmi3yy
Phone: +38 (091) 357-10-80
понедельник, 5 декабря 2016 г. в 12:28, yamamoto написал:
It should be same error on the front page, how is it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#1017 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAo3M8o2BsIyr1IK4D89WjDO0o9P68lWks5rE-czgaJpZM4LAPac).
|
I think I need a more accurate verification decision path in general, not specifically relating phx. If the check does not pass, first allow the user to adjust them, implying that the site has been moved |
no strange i move site to another host
but can’t set by default base_path in settings.
I think this help
http://take.ms/26Vxl
…--
Lukianenko Dmytro
Web developer
Site: http://dmi3yy.com
Skype: dmi3yy
Phone: +38 (091) 357-10-80
понедельник, 5 декабря 2016 г. в 12:39, Sergey Davydov написал:
I think I need a more accurate verification decision path in general, not specifically relating phx. If the check does not pass, first allow the user to adjust them, implying that the site has been moved
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (#1017 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAo3M4CyGy_XjbXVDfEe1hoxj7j8cJXZks5rE-nNgaJpZM4LAPac).
|
no #623 (reference) was after two tryes, because phx can be renamed, including rename plugin files... |
@Dmi3yy |
something like (proposed logic)
|
hmm...? |
Or maybe replacing invokeEvent('OnParseDocument') with check for phx-plugincode and disabled != 1
|
its better |
https://github.com/extras-evolution/PHx/blob/master/assets/plugins/phx/phx.plugin.txt#L15 |
In my testing-case yes. |
ok, understood. I will fix this issue later |
I thought carefully, I think this fix is smarter. |
may be better
? |
But this check not work with incorect base_parh. Need check file;) or still have bug
Отправлено с iPhone
… 6 дек. 2016 г., в 08:57, Sergey Davydov ***@***.***> написал(а):
may be better
"plugincode LIKE '%PHxParser%OnParseDocument();%'
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@Dmi3yy But what is you exact error-message? For me the error is
So avoid invokeEvent should avoid any incorrect base-path at least for PHx? Or do other plugins cause problems OnParseDocument too? |
Is it "base_path"? not "rb_base_dir"? |
updated phx has correct path |
Maybe this is a more global solution to check all kinds of plugins? #1060 (comment) |
Sry :-D |
@Deesen |
http://take.ms/RX1Vi
or if none phx file.
The text was updated successfully, but these errors were encountered: