You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by dimitri711 <di...@gmail.com> on 2007/10/17 12:37:24 UTC
Can't upload files
I have install Roller on Vista and Xp, I use tomcat 6.0 and mysql 5
and I have the same problem.
All is ok but when i go on the Create&Edit-> File Uploads
i browse my picture and after i click on upload and it don't work.
and i can't download the picture. (the picture don't appear in Manage
Uploaded Files)
The only mean is to put the picture in
C:/roller_data/uploads/blog/picture.jpg manually.
(the picture appear in Manage Uploaded Files).
Could somebody help me, please ?
Or someone as the same problem .
--
View this message in context: http://www.nabble.com/Can%27t-upload-files-tf4639460s12275.html#a13250810
Sent from the Roller - User mailing list archive at Nabble.com.
Re: Can't upload files
Posted by Dave <sn...@gmail.com>.
Any errors in the log (roller.log) when you upload?
I wonder if you could be experiencing this bug:
http://opensource.atlassian.com/projects/roller/browse/ROL-1471
ROL-1471 is fixed in Roller 3.1.1 and Roller 4.0.
- Dave
On 10/17/07, Richard Jones <ri...@pixyblog.com> wrote:
> Perhaps a permissions problem on your filesystem?
>
> Just a guess.
>
> - Richard
>
>
> On 17/10/2007, dimitri711 <di...@gmail.com> wrote:
> >
> > I have install Roller on Vista and Xp, I use tomcat 6.0 and mysql 5
> > and I have the same problem.
> >
> > All is ok but when i go on the Create&Edit-> File Uploads
> > i browse my picture and after i click on upload and it don't work.
> > and i can't download the picture. (the picture don't appear in Manage
> > Uploaded Files)
> >
> > The only mean is to put the picture in
> > C:/roller_data/uploads/blog/picture.jpg manually.
> > (the picture appear in Manage Uploaded Files).
> >
> > Could somebody help me, please ?
> > Or someone as the same problem .
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://www.nabble.com/Can%27t-upload-files-tf4639460s12275.html#a13250810
> > Sent from the Roller - User mailing list archive at Nabble.com.
> >
> >
>
Re: Can't upload files
Posted by Richard Jones <ri...@pixyblog.com>.
Perhaps a permissions problem on your filesystem?
Just a guess.
- Richard
On 17/10/2007, dimitri711 <di...@gmail.com> wrote:
>
> I have install Roller on Vista and Xp, I use tomcat 6.0 and mysql 5
> and I have the same problem.
>
> All is ok but when i go on the Create&Edit-> File Uploads
> i browse my picture and after i click on upload and it don't work.
> and i can't download the picture. (the picture don't appear in Manage
> Uploaded Files)
>
> The only mean is to put the picture in
> C:/roller_data/uploads/blog/picture.jpg manually.
> (the picture appear in Manage Uploaded Files).
>
> Could somebody help me, please ?
> Or someone as the same problem .
>
>
>
>
>
>
>
>
> --
> View this message in context: http://www.nabble.com/Can%27t-upload-files-tf4639460s12275.html#a13250810
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>
Re: Can't upload files
Posted by dimitri711 <di...@gmail.com>.
I send you the new log but i can't upload file with create&edit->uploads file
it's like as the button upload was broken. (Telechargement in French
version)
I can only take picture on roller by copy the picture and paste in
uploads/blog
http://www.nabble.com/file/p13254813/log2.txt log2.txt
In the log you have i have made one copy/paste picture
dimitri711 wrote:
>
> I have install Roller on Vista and Xp, I use tomcat 6.0 and mysql 5
> and I have the same problem.
>
> All is ok but when i go on the Create&Edit-> File Uploads
> i browse my picture and after i click on upload and it don't work.
> and i can't download the picture. (the picture don't appear in Manage
> Uploaded Files)
>
> The only mean is to put the picture in
> C:/roller_data/uploads/blog/picture.jpg manually.
> (the picture appear in Manage Uploaded Files).
>
> Could somebody help me, please ?
> Or someone as the same problem .
>
>
>
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Can%27t-upload-files-tf4639460s12275.html#a13254813
Sent from the Roller - User mailing list archive at Nabble.com.
Re: Can't upload files
Posted by Dave <sn...@gmail.com>.
On 10/17/07, dimitri711 <di...@gmail.com> wrote:
>
> Thanks for your answer Dave and Richard.
>
> I think that is not a problem of permission because i have the same problem
> on xp, vista on a server with ubuntu feisty 7.04 .
> I use on all this system mysql 5 and tomcat 6
>
> You can see the server on http://91.121.78.142:8080/roller
> you can make a blog and you can see when you go in Create&Edit-> File
> Uploads you browse your picture and after you click on upload and it don't
> work.
>
> I send to you the log on vista.
> i have just try to change the uploads.dir in roller.properties remplace
> uploads.dir=${user.home}/roller_data/uploads
> by uploads.dir=C:/dim/roller_data/uploads
> and the same on search.index
> But it gives the same problem (you can make the picture manualy but not with
> roller)
The log does not seem to include any messages related to file upload.
Can you try this:
1) stop tomcat
2) delete roller.log
3) start tomcat
4) login to Roller
5) upload a file or two
6) send us the log file
Sometimes paths with spaces cause problems for Java. I see that you
have placed your file-upload data in c:\dim\roller_data, which is good
-- but it is possible that having Tomcat under c:\Program Files is the
cause of the problem. I would be interested to know if moving Tomcat
to c:\tomcat solves this problem.
- Dave
- Dave
Re: Can't upload files
Posted by dimitri711 <di...@gmail.com>.
Thanks for your answer Dave and Richard.
I think that is not a problem of permission because i have the same problem
on xp, vista on a server with ubuntu feisty 7.04 .
I use on all this system mysql 5 and tomcat 6
You can see the server on http://91.121.78.142:8080/roller
you can make a blog and you can see when you go in Create&Edit-> File
Uploads you browse your picture and after you click on upload and it don't
work.
I send to you the log on vista.
i have just try to change the uploads.dir in roller.properties remplace
uploads.dir=${user.home}/roller_data/uploads
by uploads.dir=C:/dim/roller_data/uploads
and the same on search.index
But it gives the same problem (you can make the picture manualy but not with
roller)
I think that is a problem of configuration.. and i read many times the
roller-install-guide.
Perhaps because i use the french language version?
I have just modify the ApplicationRessources (in classes) by
ApplicationRessources_fr
my roller.xml
<Context path="/roller"
docBase="C:/Program Files/Apache Software Foundation/Tomcat
6.0/webapps/roller" debug="0">
<Resource name="jdbc/rollerdb" auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/roller?autoReconnect=true&useUnicod
e=true&characterEncoding=utf-8&mysqlEncoding=utf8"
username="root"
password="" (i miss the password)
maxActive="20"
maxIdle="3"
removeAbandoned="true"
maxWait="3000" />
</Context>
I use mysql-connector-java-5.0.4-bin.jar, but if it was a connection problem
to the bdd i couldn't
add user on roller or i can ?
http://www.nabble.com/file/p13253736/log.txt log.txt (i don't know if the
link to the log work)
dimitri711 wrote:
>
> I have install Roller on Vista and Xp, I use tomcat 6.0 and mysql 5
> and I have the same problem.
>
> All is ok but when i go on the Create&Edit-> File Uploads
> i browse my picture and after i click on upload and it don't work.
> and i can't download the picture. (the picture don't appear in Manage
> Uploaded Files)
>
> The only mean is to put the picture in
> C:/roller_data/uploads/blog/picture.jpg manually.
> (the picture appear in Manage Uploaded Files).
>
> Could somebody help me, please ?
> Or someone as the same problem .
>
>
>
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Can%27t-upload-files-tf4639460s12275.html#a13253736
Sent from the Roller - User mailing list archive at Nabble.com.
Re: Can't upload files
Posted by dimitri711 <di...@gmail.com>.
I have found the problem,
it is the french version who seems to have a problem
Because i test with english language version. And it works !
i think in the ApplicationResources_fr there is a link to the button
Telechargement (upload)
that is broken.
dimitri711 wrote:
>
> I have install Roller on Vista and Xp, I use tomcat 6.0 and mysql 5
> and I have the same problem.
>
> All is ok but when i go on the Create&Edit-> File Uploads
> i browse my picture and after i click on upload and it don't work.
> and i can't download the picture. (the picture don't appear in Manage
> Uploaded Files)
>
> The only mean is to put the picture in
> C:/roller_data/uploads/blog/picture.jpg manually.
> (the picture appear in Manage Uploaded Files).
>
> Could somebody help me, please ?
> Or someone as the same problem .
>
>
>
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Can%27t-upload-files-tf4639460s12275.html#a13254834
Sent from the Roller - User mailing list archive at Nabble.com.