Uploaded image "doesn't exist" and saved custom theme are always empty
Forum » Wikidot features and bugs / Bugs and problems » Uploaded image "doesn't exist" and saved custom theme are always empty
started by: Leo PangLeo Pang
on: 1226456417|%e %b %Y, %H:%M %Z|agohover
number of posts: 22
rss icon RSS: new posts
summary:
I have followed the instruction to upload image into wiki. I can see the file uploaded on a list, and it also gives a url. However, when I was trying to use that url to open the image, it gives me the "file doesn't exist" error. In site manager->appearance->themes. I created a custom site, and use this theme for default. However, the custom has no impact to the old theme, and when I was trying to edit the custom theme, it always shows an empty page
Uploaded image "doesn't exist" and saved custom theme are always empty
Leo PangLeo Pang 1226456417|%e %b %Y, %H:%M %Z|agohover

Window XP Professional
Firefox 3.03

I have followed the instruction to upload image into my wiki site iPhone Campus. I can see the file uploaded on a list, and it also gives an url. However, when I was trying to use that url to open the image, it gives me the "file doesn't exist" error.

In site manager->appearance->themes. I created a custom site, and used this theme as the default. However, the custom has no impact to the old theme, and when I was trying to edit the custom theme, it always shows an empty page.

Do I miss than thing? Those seem to be very basic features, so I guess I must have done some thing stupid, or these problems only happen on my version of browser?

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
RobElliottRobElliott 1226481056|%e %b %Y, %H:%M %Z|agohover

Images

To upload and use an image on your page the first step is to go to "Files" at the bottom of the page and then "Upload new file" which is on the left. This allows you to upload your .png .jpg or .gif image to that page.

But you must then refer to it on your page. The syntax for this is [[image imagename]], for example [[image mind.jpg]].

If you have uploaded an image to a different page of your wiki - for example some people store all their images on one page - you can still show it but must do so with the full path, for example
[[image http://strathviewconsultants.wikidot.com/local--files/km/mind.jpg]]

Rob

last edited on 1226482544|%e %b %Y, %H:%M %Z|agohover by RobElliott + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
RobElliottRobElliott 1226481893|%e %b %Y, %H:%M %Z|agohover

Custom Theme

I see that you have created a theme called "custom". To change your theme you will need to use CSS and the best way to do this, particularly if you are going to make lots of changes to the original, is to create a page specifically to hold your CSS. In my case I always use a name called css:theme. The other advantage of doing it this way is that you can create several pages with different CSS and change them regularly, or try out different things. When you have done this the first tag on the page must be [[code type="CSS"]] and once you have added all the CSS elements you must close it with [[/code]]. A basic example is here:

cssbasic.png

So you add the CSS elements you want on this page. Save the page. Then go to your site manager at admin:manage, then Appearance -> Custom Themes. Press edit next to where it has your custom theme name, in your case "custom", then further down the page where it says "Enter the page name below to import the CSS code" enter the file name (e.g css:theme) and then press the Import button and then press the Save theme button further down.

The following stage you will normally only need to do the first time. Go back to Appearance -> Themes. Make sure that _default is selected and then Press Choose a theme and pick your custom theme from the list. Look at the other items on the list, system, admin etc and make sure they have Inherit from _default checked. But it is wise to select admin and then choose a default theme, for example Clean, for this one. The reason is that sometimes custom themes can cause problems with the admin:manage page, side bar or top bar. Make sure you then click on the Save changes button.

Then navigate to one of your pages and you should see the changes you have made to your CSS. I usually do a hard refresh for this (F5 on IE, ctrl+r on FF) to make sure any cached page is not loaded.

Hope that helps.

Rob

last edited on 1226482957|%e %b %Y, %H:%M %Z|agohover by RobElliott + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Helmuti_pdorfHelmuti_pdorf 1226482750|%e %b %Y, %H:%M %Z|agohover

Can have an issue with your "domain" name ?

http://www.iphonecampus.com/local--files/start/logo.gif is not existent
http://iphonecampus.com/local--files/start/logo.gif is not existent
http://www.iphonecampus.wdfiles.com/local--files/start/logo.gif is not existent

Put it into the tracker system for bugs…


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

last edited on 1226482946|%e %b %Y, %H:%M %Z|agohover by Helmuti_pdorf + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
RobElliottRobElliott 1226483721|%e %b %Y, %H:%M %Z|agohover

..or perhaps something has gone wrong with the uploading of the files as the same message appears if you right-click and open logo.gif via http://iphonecampus.wikidot.com/

last edited on 1226490453|%e %b %Y, %H:%M %Z|agohover by RobElliott + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Ivan AkiraIvan Akira 1226509204|%e %b %Y, %H:%M %Z|agohover

Leo, based on your question and result, It seems that you do nothing wrong…
When I try to discovered why that problem happen, it seems that I came to a conclusion that Helmuti is right! So, I completely agree with Helmuti!

The problem is in the domain name which caused by the URL redirection.

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
RobElliottRobElliott 1226510211|%e %b %Y, %H:%M %Z|agohover

Not sure I agree. If it is a problem with the custom domain name I would still expect to be able to see the images when looking at them directly on wikidot at http://iphonecampus.wikidot.com

And as Leo has managed to save/link to other images on his site quite successfully, for example at http://iphonecampus.wikidot.com/application-review, I suspect the problem is not with the custom domain name but some problem with the images themselves or his uploading of them on that start page. I suggest he re-uploads them, gives them a different name (to overcome any cache issues), references them on his page and see if that works.

Anyway, that's just my 2 Austrian Schillings worth.
Rob

last edited on 1226511654|%e %b %Y, %H:%M %Z|agohover by RobElliott + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Phil ChettPhil Chett 1226511048|%e %b %Y, %H:%M %Z|agohover

looking at the css….
using webdev on ff, i note
in the last style tab (thats the one that gets css from the edit box in custom themes) i get…

<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
</head>
 
<body>
<p>The file does not exist.</p>
</body>
</html>

which, for want of a more delicate word, is er…er….er…. crap wrong. :-)

now looking at the embeded css files
i get the same er…er….er… stuff in style css?4

followed by a load more, er…..er……er…… stuff that dont make sence.

which begs the question to leo…
"can you show us your css please" ???

last edited on 1226511111|%e %b %Y, %H:%M %Z|agohover by Phil Chett + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Helmuti_pdorfHelmuti_pdorf 1226512582|%e %b %Y, %H:%M %Z|agohover

There is another chance — have you changed the name of the "start" page ( landing page) in the site manager?


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Helmuti_pdorfHelmuti_pdorf 1226513159|%e %b %Y, %H:%M %Z|agohover

Sorry, Leo has NOT managed to show his uploaded images in the apllication pages … they are all coming from outside!…


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
RobElliottRobElliott 1226514033|%e %b %Y, %H:%M %Z|agohover

Hmm, good point Helmut.

Well it's the end of my day, I've run out of ideas and there's a rather good white wine with my name on it in the pub so I'll see you all tomorrow.

Rob

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Phil ChettPhil Chett 1226515249|%e %b %Y, %H:%M %Z|agohover

i see what you are driving at now helmuti.

there are TWO very distinct probs here.

1: although the filemanger says there are files loaded to that page they dony seem to exist.
2: there is no css relating to those pics, the fact that they dont exist is irrelevant.

so we have to fix 1, before we can think about 2.

i have a site with custom url…. i will make some test in a bit…. but a glass of wine with rob sounds far more appealing :-)

edit
i have just uploaded files to a custom domain site, and experianced no problems.

last edited on 1226517075|%e %b %Y, %H:%M %Z|agohover by Phil Chett + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Leo PangLeo Pang 1226521656|%e %b %Y, %H:%M %Z|agohover

Phil, Stawthview, and Helmuti,

Thanks a lot for your help! I am really touched that so many people look at my problems. Helmut and Phi's final conclusion is right - there are two distinct problems here. The first one is the images that I loaded to any pages do not exist, even when I was trying to display them with the link provided by the system. I tried on a couple different page, none of them are work, so I had to use images stored on other website. The second one is that when I was try to edit the CSS style file that I uploaded, it shows empty, and the uploaded CSS has no impact to the appearance. So, I guess they are not stored. Therefore, the two problems may have the same reason: the files are not stored in the wiki server.

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
SquarkSquark 1226565374|%e %b %Y, %H:%M %Z|agohover

Hi guys, we had a problem yesterday with uploaded files. Michał fixed this and everything should work fine now, but — unfortunately — if the file looks like it doesn't exist, you have to delete it and upload it again. Sorry for this inconvenience. Cheers!


Wikidot Team
Any problem? Write to me: support@wikidot.com or lukasz@wikidot.com
Visit my wiki: http://www.squark.wikidot.com

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Helmuti_pdorfHelmuti_pdorf 1226565751|%e %b %Y, %H:%M %Z|agohover

Hi Leo!
I was invited by you to be a member of your site.
I uploaded a picture on the start page and now this working …

As Squark told… this is working now…


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Phil ChettPhil Chett 1226568610|%e %b %Y, %H:%M %Z|agohover

So, problem 1 should now be solved.

so now we can crack on with problem two.

I would of got onto this last night, but i decided to take a 10 hour drive to Scotland for a glass of white wine with Rob.
I was disappointed, but not surprised, to have to buy my own! :-)

last edited on 1226568706|%e %b %Y, %H:%M %Z|agohover by Phil Chett + show more
Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Helmuti_pdorfHelmuti_pdorf 1226568842|%e %b %Y, %H:%M %Z|agohover

I am surprised - there is another 2. problem ?

EDIT: I think I was concentrated on the first one… and havew always over-red it…

Lucky return , Phil?


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Phil ChettPhil Chett 1226569331|%e %b %Y, %H:%M %Z|agohover

Helmuti… you were concentrating on the image thing.
i was concentrating on the css thing.
I suspect leo might have a small miss understanding about css.

hopefully he will have had a a look at : http://community.wikidot.com/howto:themes-an-idiots-guide
as well as some as the other css and theme howtos.

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Leo PangLeo Pang 1226605664|%e %b %Y, %H:%M %Z|agohover

Phil, Stawthview, Helmuti, and Squark,

As what I suspected, my two problems both were caused by the file upload bug. Now that bug is fixed, both file upload and CSS upload are working. I have successfully uploaded images into my wiki site, for example:

http://www.iphonecampus.com/how-to-use-iphone-as-a-wireless-internet-modem

In addition, I have uploaded a custom theme code, and it changed the appearance of the iPhone Campus site.

I do have another issue with Embed command, I'll create an new bug thread. Hopefully you can look at it, too. BTW, I have added you guys as admin of iPhone Campus.

Thanks lot!

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Leo PangLeo Pang 1226606220|%e %b %Y, %H:%M %Z|agohover

Oh, I just found another bug related to this. It seems that ListPages module cannot handle those uploaded images in the post correctly. Look at

http://www.iphonecampus.com/how-to

In the first article "How to use iPhone as a wireless Internet modem", I used the uploaded image "pdanet.jpg". ListPages module cannot display the image. In the last article "Fring - VOIP on your iPhone", I used an external image, it works.

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Phil ChettPhil Chett 1226606226|%e %b %Y, %H:%M %Z|agohover

your css makes sence now as well :-)

Re: Uploaded image "doesn't exist" and saved custom theme are always empty
Helmuti_pdorfHelmuti_pdorf 1226652552|%e %b %Y, %H:%M %Z|agohover

The problem with the non-shown picture in a list pages modlue output is very easy to explain and solve:

I put - as a new admin :) - the page name in front of the picture ( "long" internal image source name)

[[f<image how-to-use-iphone-as-a-wireless-internet-modem/pdanet.jpg]]

and the effect is now - on a complete different page like the "how-to" now the picture is found over the pagename too.

Before this change the renderer has no chance to find the image.. the ListPages module only creates the needed source, but not internal links..

Tip ( as in the docu) : always use as image source the combination of pagename/imagename. Benefits are

  • this makes it easier to use a page called "all-files" with all used files of the site in a central point. You will never search a file - ob which page is it stored….
  • if you copy the source from opne page to another you need not to change any image sources
  • any include will work automatically ( like a ListPage module output :) )
  • in the source you will see later on which page the image is saved/attached…

Hope this helps?

Now you have to control all sopurces in your pages for "long" image sources with their pagenames too..


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

new post

Bookmark and Share

Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.