Rename file and folder problem

  • 2
  • Problem
  • Updated 8 years ago
  • Solved
Hi,
I always got a failed message when trying to rename a file or folder. I've clicked "Send Report" several times but the problem seems to not fixed yet.

Could Yola staff confirm this problem? Thanks in advance.

P.S. Technical details:
// ------------------------- //
// ---- User Message ------- //
// ------------------------- //

// ------------------------- //
// ---- API Details -------- //
// ------------------------- //

API : ResourceAPI
Action : move&siteId=8a49866a21efe5b60121f23c158f2d6f
URL : /APIController?APIType=ResourceAPI&Action=move&siteId=8a49866a21efe5b60121f23c158f2d6f

// ------------------------- //
// ---- Error Details ------ //
// ------------------------- //

Message : A JSONArray text must start with '[' at character 1 of ]

net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of ]
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)
at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:1144)
at net.sf.json.JSONArray._fromString(JSONArray.java:1224)
at net.sf.json.JSONArray.fromObject(JSONArray.java:149)
at net.sf.json.JSONArray.fromObject(JSONArray.java:127)
at com.incubeta.synthasite.migration.ResourceStoreHelper.copymove(ResourceStoreHelper.java:2018)
at com.incubeta.synthasite.api.data.ResourceAPI.move(ResourceAPI.java:1125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.incubeta.synthasite.api.core.APIBase.processRequest(APIBase.java:326)
at com.incubeta.synthasite.api.core.APIController.processRequest(APIController.java:63)
at com.incubeta.synthasite.api.core.APIController.doPost(APIController.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.yola.metrics.assembler.MetricsFilter.doFilter(MetricsFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)

// ------------------------- //
// ---- Post Data ---------- //
// ------------------------- //

"{\n \"siteId\" : \"8a49866a21efe5b60121f23c158f2d6f\",\n \"names\" : \"/Games/\",\n \"destName\" : \"/games/\",\n \"parents\" : true,\n \"overwrite\" : false\n}"

// ------------------------- //
// ---- Response Object ---- //
// ------------------------- //

{
"apiResponse" : null,
"errorDetail" : "net.sf.json.JSONException: A JSONArray text must start with '[' at character 1 of ]\n\tat net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:512)\n\tat net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:1144)\n\tat net.sf.json.JSONArray._fromString(JSONArray.java:1224)\n\tat net.sf.json.JSONArray.fromObject(JSONArray.java:149)\n\tat net.sf.json.JSONArray.fromObject(JSONArray.java:127)\n\tat com.incubeta.synthasite.migration.ResourceStoreHelper.copymove(ResourceStoreHelper.java:2018)\n\tat com.incubeta.synthasite.api.data.ResourceAPI.move(ResourceAPI.java:1125)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\n\tat java.lang.reflect.Method.invoke(Method.java:597)\n\tat com.incubeta.synthasite.api.core.APIBase.processRequest(APIBase.java:326)\n\tat com.incubeta.synthasite.api.core.APIController.processRequest(APIController.java:63)\n\tat com.incubeta.synthasite.api.core.APIController.doPost(APIController.java:151)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:710)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:803)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat com.yola.metrics.assembler.MetricsFilter.doFilter(MetricsFilter.java:83)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)\n\tat org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)\n\tat org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)\n\tat org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)\n\tat org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)\n\tat java.lang.Thread.run(Thread.java:619)\n",
"message" : "A JSONArray text must start with '[' at character 1 of ]",
"statusCode" : 1,
"statusString" : "ERROR",
"systemError" : true,
"post" : "{\n \"siteId\" : \"8a49866a21efe5b60121f23c158f2d6f\",\n \"names\" : \"/Games/\",\n \"destName\" : \"/games/\",\n \"parents\" : true,\n \"overwrite\" : false\n}",
"url" : "/APIController?APIType=ResourceAPI&Action=move&siteId=8a49866a21efe5b60121f23c158f2d6f",
"httpStatus" : 200,
"responseHeaders" : "Date: Wed, 02 Sep 2009 06:04:26 GMT\nServer: Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g\nX-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5\nContent-Encoding: UTF-8\nCache-Control: no-cache\nPragma: no-cache\nExpires: 0\nContent-Length: 3299\nSynthaSite-ID: sb3 D=402503 t=1251871466005125\nKeep-Alive: timeout=15, max=98\nConnection: Keep-Alive\nContent-Type: text/plain;charset=UTF-8\nX-Antivirus: avast! 4\nX-Antivirus-Status: Clean\n",
"duration" : 995,
"mapProperties" : function (callback) {
var newObject = {};
for (var propertyName in this) {
if (this.hasOwnProperty(propertyName)) {
newObject[propertyName] = callback(this[propertyName], propertyName, this);
}
}
return newObject;
}
}

// ------------------------- //
//---- User User Data ------ //
// ------------------------- //

{
"agent" : {
"name" : "firefox",
"version" : 3.5,
"OS" : "windows",
"supported" : true,
"png" : true,
"IE" : false,
"IE6" : false,
"IE7" : false,
"firefox" : true,
"safari" : false,
"opera" : false,
"windows" : true,
"mac" : false,
"linux" : false,
"scrollWidth" : 17,
"flashVersion" : {
"major" : "10",
"minor" : "0",
"revision" : "32"
},
"versionSearchString" : "Windows"
},
"site" : {
"tags" : "",
"authPassword" : null,
"pages" : [{
"id" : "8a4986cb236c51c301236f219b5d3194",
"description" : "",
"name" : "about",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}, {
"id" : "8a49866b236c514501236f1eb204320d",
"description" : "",
"name" : "download",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}, {
"id" : "8a49866a21efe5b60121f23c31fe2d71",
"description" : "Auto generated index page.",
"name" : "index",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}],
"domains" : [{
"id" : "8a49866a21efe5b60121f6a130c5736b",
"isPrimary" : true,
"isSubdomain" : false,
"domain" : "download.d-oneproduction.co.cc"
}],
"auth_key" : "8a4986cb21efe5bb0121f23b068c37a8,8a4986cb21efe5bb0121f23b068c37a9,a29f8032f0f602fa5856eeb8c1908772",
"modified" : 1251870305745,
"id" : "8a49866a21efe5b60121f23c158f2d6f",
"title" : "D-One Production Downloads",
"style" : {
"id" : "41be6840-60fd-102b-ab67-001111414a2c",
"premium" : false,
"name" : "Embouteillage_Gold",
"displayName" : "Embouteillage Gold"
},
"authUser" : null,
"description" : "",
"name" : "D-One Production Downloads",
"path" : "/sites/S3/D8a7/D3c8/D60b/D32f/U8a4986cb21efe5bb0121f23b068c37a8/8a49866a21efe5b60121f23c158f2d6f/",
"published" : true,
"disabled" : false
},
"emailVerified" : true,
"email" : "supersonix99@yahoo.com",
"name" : "M.Aditya",
"surname" : "Firmansyah",
"loggingOut" : false
}

// ------------------------- //
// ---- User Site Data ----- //
// ------------------------- //

[{
"tags" : "",
"authPassword" : null,
"pages" : [{
"id" : "8a4986cb236c51c301236f219b5d3194",
"description" : "",
"name" : "about",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}, {
"id" : "8a49866b236c514501236f1eb204320d",
"description" : "",
"name" : "download",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}, {
"id" : "8a49866a21efe5b60121f23c31fe2d71",
"description" : "Auto generated index page.",
"name" : "index",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}],
"domains" : [{
"id" : "8a49866a21efe5b60121f6a130c5736b",
"isPrimary" : true,
"isSubdomain" : false,
"domain" : "download.d-oneproduction.co.cc"
}],
"auth_key" : "8a4986cb21efe5bb0121f23b068c37a8,8a4986cb21efe5bb0121f23b068c37a9,a29f8032f0f602fa5856eeb8c1908772",
"modified" : 1251870305745,
"id" : "8a49866a21efe5b60121f23c158f2d6f",
"title" : "D-One Production Downloads",
"style" : {
"id" : "41be6840-60fd-102b-ab67-001111414a2c",
"premium" : false,
"name" : "Embouteillage_Gold",
"displayName" : "Embouteillage Gold"
},
"authUser" : null,
"description" : "",
"name" : "D-One Production Downloads",
"path" : "/sites/S3/D8a7/D3c8/D60b/D32f/U8a4986cb21efe5bb0121f23b068c37a8/8a49866a21efe5b60121f23c158f2d6f/",
"published" : true,
"disabled" : false
}]

// ------------------------- //
// ---- User Page Data ----- //
// ------------------------- //

[{
"id" : "8a4986cb236c51c301236f219b5d3194",
"description" : "",
"name" : "about",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}, {
"id" : "8a49866b236c514501236f1eb204320d",
"description" : "",
"name" : "download",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}, {
"id" : "8a49866a21efe5b60121f23c31fe2d71",
"description" : "Auto generated index page.",
"name" : "index",
"type" : "2fe18482-75b5-42a4-880c-82e34937b7fa",
"authRequired" : false
}]

// ------------------------- //
// ---- User Frame Data ---- //
// ------------------------- //

[{
"type" : "PageFrame",
"subType" : "page",
"controller" : null,
"saved" : true,
"id" : "frame_8a49866a21efe5b60121f23c31fe2d71",
"pageId" : "8a49866a21efe5b60121f23c31fe2d71",
"url" : "/sites/S3/D8a7/D3c8/D60b/D32f/U8a4986cb21efe5bb0121f23b068c37a8/8a49866a21efe5b60121f23c158f2d6f/8a49866a21efe5b60121f23c31fe2d71.page?bn=1&siteId=8a49866a21efe5b60121f23c158f2d6f",
"loadingMessage" : "Opening Page",
"loading" : false
}]
Photo of Ran_TH

Ran_TH

  • 6 Posts
  • 0 Reply Likes
  • confused

Posted 9 years ago

  • 2
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi Ran_TH - thank you for your post. Please could you forward the following information:
1. What is the name of the folder you are trying to rename?
2. What name are you trying to rename your folder to?

Thanks!
Photo of Ran_TH

Ran_TH

  • 6 Posts
  • 0 Reply Likes
Hi,

I just tried to rename folder "Games" to "games" then that error appears. It also seems I can't rename file and folder at all.
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi Ran_TH - thank you for replying. I'm going to ask one of our engineers to take a look and I'll come back to you.
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi Ran_TH,

Apologies for the delay but I'd like to let you know that the problem has been fixed. The folder in the File Manager has been renamed. Please let us know if you have any further problems.
Photo of Kenneth Just

Kenneth Just

  • 1 Post
  • 0 Reply Likes
Step 1
Move through your folders until you have located the file or folder that you want to rename.
Step 2
Click on the file or folder to select it.
Step 3
Click the item's text box to select it, then type in the new name.
Step 4
Press Enter (if using Windows) or Return (on a Mac) to save the new name.

Rename File Easily
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Thanks Kenneth for these instructions.

However, renaming your file in the File Manager is slightly different. Here are the steps:

1. Right-click on the file in the File Manager.
2. Click on "Rename".
3. Delete the file name but leave the extension (eg. .jpg).
4. Enter a new file name before the extension.
4. Click on "OK".
Photo of nas

nas

  • 2 Posts
  • 0 Reply Likes
Hi There
I have vista, each time I want to rename a file or folder, a message pops out and say file or folder does not exist.
Pls help me
Thanks so much
Nasser
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Nas,

Please can I have the following info:
1. What is the name of the folder you are trying to rename?
2. What name are you trying to rename your folder to?
Photo of nas

nas

  • 2 Posts
  • 0 Reply Likes
Dear Kershnee
Thanks for an unexpected quick reply.
All the files and folders in my computer all cannot be renamed each time I type any name, the message I mentioned pops out ( file or folder does not exist) so the file remains name new folder 1, or 2 or 3...etc each time if its a new file, other files in my computer all cant be renamed too for the same reason.Thanks again
Photo of Johny

Johny

  • 1 Post
  • 0 Reply Likes
A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.

Some common problems with Windows Explorer people talk about:

- Doesn't allow to delete files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.

I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.

deletelongfile.com