This topic is locked

Systematic errors while saving edited pages in phpr v.5

1/16/2009 5:08:49 PM
PHPRunner General questions
V
vytb author

Does anybody experience this? - did not see here...
Despite otherwhise excellent changes in phpr 5, with this version I started experiencing multiple errors while saving visualy edited pages, especialy with multiple columns added: kind of "tag is missed ... the page is broken", "Fatal error: Call to undefined function mlang_message() in ... /oldlibs/plugins/function.mlang_message.php on line 4" or simply some columns are being displaced, some deleted, etc.
Draging the object is very risky (for ex., in list pages the field names),- much less risky is to move code parts in html.
The crazy thing is that this mostly happens with heavily edited pages so it is very time consuming to rebuild. Saving every action is time consuming as well for the big projects.
The main question is, am I alone with this problem? Just got the new computer, so it is not computer related. It happens with any project as well.

G
GamezBeCJ 1/17/2009

I've had the same problem happening to me. I just purchase the software a month ago, so I don't know if the previous versions had the same issues. What I've noticed, as you say, is that the problem is related to edited pages. I haven't found a fix but to try to stay away as much as possible from customized pages, although this does not give a great deal of flexibility to the functionality on your site.

Sergey Kornilov admin 1/18/2009

If you experience issues like this and need help - provide more info. Probably the best idea is to post troubled project to demo account and to send details to support team.
If this is a bug, we'll fix it. If this something else we'll suggest a workaround.

V
vytb author 1/18/2009

If only I and GamezBeCJ are experiencing this, it may be associated with some special conditions or the way we work. Anyways, I'll try to explicit the mentioned occasions that I remember so far:

  • if I try to drag or copy/paste the child links with the number of them in the list page, the page will contain the errors near 100%: like a workaround I copy part of html code instead;
  • if I need more then 2 columns, I add all needed to the right and I delete the original ones since they have different format (borders) that I cannot control with the visual editor; while saving or going up or down to the next page of the project, often one or some of the right cells will be displaced to the right like a separate cell with no column and other cells/fields will be displaced accordingly;
  • if I do the same as above, sometimes I will not see any problems until the upload where I will have the error "Fatal error: Call to undefined function mlang_message() in ... /oldlibs/plugins/function.mlang_message.php on line 4".
    Though I am not a coder, it appears to me that sometimes visual editor shows the things OK but it grabs some wrong part of the code and so later the page has to be rebuilt.
    Concerning the offer of admin to post troubled project to demo account I repeat that these issues are not project-related and not PC-related. Even complexity of the page has little impact since it happens to the pages of four columns and six rows...

Sergey Kornilov admin 1/18/2009

Vitas,
this problem is greatly depends on your project details. It works a different way if you create a brand new project of convert an older one created in PHPRunner 4.x.
Send us your project and we'll try to reproduce those problems using steps your provided. This discussion is quite pointless until we have a clear way to reproduce it.

V
vytb author 1/20/2009

Vitas,

this problem is greatly depends on your project details. It works a different way if you create a brand new project of convert an older one created in PHPRunner 4.x.
Send us your project and we'll try to reproduce those problems using steps your provided. This discussion is quite pointless until we have a clear way to reproduce it.


Today I've been working on the project which was converted from v.4.2 to v.5 some months ago. This is the same project that I sent to you (on demo) to investigate occasions where some fields were disappearing - becoming unchecked (if you look at 'choose fields' page) - there is nothing more to send. Altogether some displacements of the cells were observed while saving this time as well. Therefore, I suppose, it's the same problem.
In addition, I observed some behavior like this on the new project as well. I understand that it maybe impossible to reproduce (though I changed the laptops) so let's forget it untill I can present some more details...
Anyways, usualy I re-insert the 'lost' fields, delete displaced cells and then it works fine.

Sergey Kornilov admin 1/21/2009

Vitas,
if you work with project created by version 4.x I recommend to reset troubled pages in Visual Editor. One of the most important PHPRunner 5.0 points is that it uses templates that are "edit proof".
If you happen to see any of issues you mentioned send us the whole project directory along with your database. Sending your project to Demo Account is not enough as it only transfers generated files.

A
alang 1/21/2009

With 4.x recommend you do absolute minimal changes in visual editor. Use PHP code snippets wherever possible as these are relatively easy to put back in after you do a page reset.

V
vytb author 1/22/2009

With 4.x recommend you do absolute minimal changes in visual editor. Use PHP code snippets wherever possible as these are relatively easy to put back in after you do a page reset.


Thanks Alan,
It's not the way for me since the converted pages have up to 10 columns, the same nb of rows, etc. However, as I wrote, I can reinsert the missing fields, delete and reinsert the cells, etc. The second, or (rarely) the third time it works fine. Just time consuming... On the other hand, the version 5 is far ahead from v.4.2 (except unability to preview the charts), isn't it?

Sergey Kornilov admin 1/22/2009

Vitas,
I'll try to explain it one more time.
You are still working with PHPRunner 4.2 templates and facing version 4.2 issues. Version 5 comes with new templates that don't have editing problems however you still use older templates.
To take advantage of version 5 templates you need to reset troubled page in Visual Editor and apply your formatting again. This is not a problem for unmodified pages as they are converted automatically.

V
vytb author 1/22/2009

Thanks admin,
I understand. However, it is useful and beneficial to exchange opinions and possible solutions to the issue.
I appreciate your assistance.