when I view the code on http://www.scarsdaleaikido.com/instructor.html to edit it, it is cut off fairly early on. however, when I check the page in a browser it displays properly. when I check the source code from the page in the browser, it also shows the full code correctly. what's up with that?
Thank you for your question. The code editor in File manager may cut-off after so many characters, in which case I recommend using FTP to download the file, then edit it using something like Notepad++. Upload the file back to your account using FTP, when you are done.
We are happy to assist you, but we need more information to provide a detailed answer to your question.
When the code is cut-off, where are you viewing the code to edit it?
Are you using an editor, such as notepad++, ipage, or dreamweaver?
If you have any further questions, feel free to post them below.
Thank you,
-John-Paul
i used ftp to upload the full file and this was the result.
I go into file manager - code edit. on the page referenced above the code was cut off at line 158. in the file I upload, or if I call the page up in a browser and look to view source code, the full code is there.
I reviewed the issue with John-Paul, checked with our Systems team, and also went hunting in the cPanel forums. This appears to be an issue with the cPanel, and not something we can correct unfortunately. The best way to get around this problem is to download the file using an FTP client and then editing the file using an editor like Notepad ++. You don't have to use FTP, you can also do the following:
1. Go the Cpanel File Manager
2. Locate your file and right-click on it. Select DOWNLOAD at the top of the menu that appears
3. Download the file, then find where you downloaded it, right-click on it and then open it in your favorite editor
4. After you have finished editing the file, go back to the cPanel File Manager and then select the folder where the file came from (left-click on public_html), then click on UPLOAD in the menu bar in the top of the file manager.
5. Select your file, upload it and you're done!
I hope this helps to clarify the issue. Please let us know if you have any further questions or comments.
I don't think that was a cogent answer. other pages have the complete file uploaded. however, I checked a second page () and found the code was cut off by the exact same word. again, the both pages seem to display properly. then when I copy the balance of the code and put it in the file manager, it simply does not accept the full code. can you take another look and see what is really going on?
The code editor in cPanel is for basic coding, that is why we recommend using a local code editor.
I just want to clarify:
The problem you are experiencing is: The full code of your page is not displaying in the code editor in File manager. The code is there (since the site "displays properly"), it is just not displaying all the code in your file.
The reason: This is a very common cPanel issue, as many browsers have trouble handling the script for the Code Editor . Essentially cpanel loads up the code of your page using Javascript, and passes it to your browser. You browser must then parse the information, but browsers cut a script off after so many seconds, or if it becomes unresponsive, etc. This varies due to the size of the file, the amount of characters in the file, etc.
The solution: Is to use a different code editor for that file, such as notepad++(which is free and includes helpful code editing tools). Then upload the file via FTP.
so you are saying the problem is in the code editor and not in the file? the file uploads fine, displays fine in a browser, but I just can't view all the code properly in the code editor?
Yes, exactly: "the problem is in the code editor and not in the file? the file uploads fine, displays fine in a browser, but I just can't view all the code properly in the code editor?"
If you have any further questions, feel free to post them below.
Thank you,