This topic is locked

Visual Editor Problem...

9/19/2008 5:04:43 PM
PHPRunner General questions
S
Sekaidragon author

I've been wracking my brain trying to figure this one out, because it seems like it should be so very simple ...
I have a field in every table 'Updated by' ... I want the form to only allow/submit the $_SESSION["UserID"] for that field so the person adding/editing the form can't can't change the 'Update by' to someone else.
No changes I make to the HTML of any edit page generate new code and the changes don't show online in the source code, even though the changes to the code still show in the HTML part of the visual editor. The same thing happens with php code snippits, no matter what or where they are, they aren't included in page generation and never show online in the source code.
It should be as simple as changing style"display:none" or changing type="hidden"
...but those changes never show no matter what I do.
Maybe I'm extremely retarted, but I just can't figure this one out to save my life ... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=9575&image=1&table=forumtopics' class='bbc_emoticon' alt=':angry:' />
Thank you everyone who takes the time to help me out with this!

Sergey Kornilov admin 9/19/2008

Post your application to Demo Account and send the URL of your application to support@xlinesoft.com.
Attach a screenshot that explains what kind of changes you make in Visual Editor.

S
Sekaidragon author 9/19/2008

Post your application to Demo Account and send the URL of your application to support@xlinesoft.com.

Attach a screenshot that explains what kind of changes you make in Visual Editor.


I'm trying to upload to the demo account, but I'm getting the following error

Error: Can't get database information.

Sergey Kornilov admin 9/19/2008

You can zip and and send the whole project folder along with database dump to support@xlinesoft.com.

S
Sekaidragon author 9/19/2008

You can zip and and send the whole project folder along with database dump to support@xlinesoft.com.


Before I send the site, I did want to mention that this problem has plagued me from the very beginning.
I've tried it on XP, Vista, and Vista x64 ...

...using templates and using the creation wizard

...across 11 different projects. (The projects are great and functional, just can't customize the code.)

...on 4 different web servers.
The only thing everything has in common is the version of PHPRunner 4.2 (Build 379)
Do you still want me to send the project?

S
Sekaidragon author 9/22/2008

Please, nobody get me wrong. This program is amazing and leaps and bounds better than any competition that I have tried, and the sites I make are professional and work great; It's done wonders for my job. It's just the fine customizations that are not currently functioning.

Sergey Kornilov admin 9/22/2008

Yes, you still need to send it. It's impossible to find what's wrong without seeing your database and project.

S
Sekaidragon author 9/22/2008

Do you still want me to send the project?


That was a very stupid question on my part, lol, please excuse it. I sent the files your way. I appreciate your time!

S
stugutz 9/23/2008

Hey Sekaidragon

did you or they fix this problem as I am having the same drama...?

If so any chance of sharing..?
cheers vjc

Sergey Kornilov admin 9/23/2008

stugutz,
there is no fix - that was a user error.

S
Sekaidragon author 9/23/2008

stugutz,

there is no fix - that was a user error.


I found the issue; it was the software package itself. I downloaded a copy of 4.1 and everythingworks great now! It's sad, but at least it's working ... There, in no way, was user error, because I made the same adjustments in 4.1 stated above, and all the visual editor changes are sticking this time...
If you switch back to 4.1, be advised you will want/need to start the project from scratch in 4.1 ... I had both projects on two screens and a copy/paste job took me about an hour. Cheers!

Sergey Kornilov admin 9/23/2008

Sekaidragon,
if you think this is a software problem, it's okay with me. I'm just trying to help you avoid similar issues in the future.
If you had a chance to read my email you found that

  1. Your project works fine on demo account. I just built it and uploaded to the server without making any changes.
  2. Visual templates are built properly. You can see that changes you made in Visual Editor are applied to output/templates/_Roster_add.htm and output/templates/_Roster_edit.htm files.
    So the problem is modified template files were not uploaded to the web server or uploaded to the wrong place.
    Here are possible causes of this issue:
  3. You are looking at the old copy of your application. If you upload your application to the web server make sure you uploaded all files.
  4. Clear your browser's cache
  5. Just in case proceed to the web server and delete all files in "templates_c" directory. This directory contains cached template files.
  6. Try to upload the whole application to a brand new directory on the web server.
  7. Make sure you are looking at the same directory on the web server where you uploaded it. For example if you upload your application to "folder1" and open "folder2" in web browser you'll be looking at the old copy of files which leads to impression files were not modified.
    Again, I'm just trying to help.

S
Sekaidragon author 9/23/2008

Sekaidragon,

if you think this is a software problem, it's okay with me. I'm just trying to help you avoid similar issues in the future.
If you had a chance to read my email you found that

  1. Your project works fine on demo account. I just built it and uploaded to the server without making any changes.
  2. Visual templates are built properly. You can see that changes you made in Visual Editor are applied to output/templates/_Roster_add.htm and output/templates/_Roster_edit.htm files.
    So the problem is modified template files were not uploaded to the web server or uploaded to the wrong place.
    Here are possible causes of this issue:
  3. You are looking at the old copy of your application. If you upload your application to the web server make sure you uploaded all files.
  4. Clear your browser's cache
  5. Just in case proceed to the web server and delete all files in "templates_c" directory. This directory contains cached template files.
  6. Try to upload the whole application to a brand new directory on the web server.
  7. Make sure you are looking at the same directory on the web server where you uploaded it. For example if you upload your application to "folder1" and open "folder2" in web browser you'll be looking at the old copy of files which leads to impression files were not modified.
    Again, I'm just trying to help.


I did try those steps, but as I initially stated, the templates are not being correctly generated. It is not that they are changed locally, but do not show online, it is when I output the files, it discards the changes. In fact, if I just edit the HTML and try to upload through FTP, it says there is nothing to upload, even though the changes are in the visual editor. I've monitored the output files visually and with 3rd party software, and they are never changed. Does that make sense? I'm sorry for being unclear about it. When I went back to 4.1, the changes would register, be generated correctly in output, and the ftp option recognized html only changes. Of course, the site also reflected the pages. I'm not sure why my 4.2 differs from yours so. I also appreciate your time and help. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=33348&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

Sergey Kornilov admin 9/23/2008

Did you try to "upload all files"?
Did you try to use any third party FTP software to upload the whole application?
It's important to upload all files.

S
Sekaidragon author 9/23/2008

Did you try to "upload all files"?

Did you try to use any third party FTP software to upload the whole application?
It's important to upload all files.


Yes, yes, and yes ... dozens of times. Once again, the changes never make it to a template file. If the template doesn't reflect the changes, it doesn't matter how I upload it. When I make any other changes, such as adjusting field types, they register in the generated template files and show online when I upload. Again, my problem is in the file creation and not the distribution of files. I need the program to generate the changes, like it did for you when you used my project to generate the files.

S
Sekaidragon author 9/24/2008

Yes, yes, and yes ... dozens of times. Once again, the changes never make it to a template file. If the template doesn't reflect the changes, it doesn't matter how I upload it. When I make any other changes, such as adjusting field types, they register in the generated template files and show online when I upload. Again, my problem is in the file creation and not the distribution of files. I need the program to generate the changes, like it did for you when you used my project to generate the files.


I think I found the problem, once and for all. It was the software package like I said before, but here is why. This isn't my program. A friend of mine installed in on my computer. I asked him for the registration so that I could try reinstalling it myself so I could work on the issue when he wasn't here ... I come to find out he didn't purchase the program, he downloaded it from a torrent... The "crack" is a modified version of the .exe to launch the program. I'm sure that is the cause.
I won't be using this program again (at lease until I can afford the price tag), so thank you all for your support. If you run into the problems I have, make sure you have a legal registered copy, and not some hacked and pirated bullS#!t...

Sergey Kornilov admin 9/24/2008

I'm shocked

S
Sekaidragon author 9/24/2008

I'm shocked


Tell me about it ...