Recent Topics

1 Dec 07, 2005 03:25    

Hi,

This is the link to my blog:
http://howtotellagreatstory.com/b2evolution/index.php

I am having trouble uploading a photo. Initially I was denied permission. but I figured that part out from previous posts in the forum and the "tricky stuff" page. I substituted the code, as advised - see this page: http://b2evolution.net/man/2004/06/04/file_permissions

However, when I tried to upload a jpeg file which I have compressed to 96k, this is the message I get:

Parse error: parse error, unexpected $ in /home/hsphere/local/home/aneeta/howtotellagreatstory.com/b2evolution/admin/b2upload.php on line 213

Line 213 the page mentioned page reads

</html>

What does this mean? And more importantly, how do I correct this?

Thank you, in advance

Aneeta

2 Dec 07, 2005 14:47

Have you tinkered inside the b2upload.php file at all? Reckon it don't matter either way... Start by assuming it's the culprit. If you've been in it then you may have hurt it in some way. If not it might just be broken. Consider getting a fresh copy of .9.1 and replacing your server version of that file with a shiny bright brand new one. If you did any edits to the current one you will have to re-do them, so be careful of oopsies. A common oopsie that people don't even realize is happening is to get 'white space' at the end of a file. Extra spaces or empty lines after the last character of the last line. Sometimes it comes from the specific editor you're using on files - the editor decides to add some glunky stuff that you might not even see but it breaks the file.

Anyway! I'd just get a fresh copy of the file and replace your server copy. See where that gets you and hope it gets you to a happy place.

3 Dec 08, 2005 01:06

Hi Edb,

Thank you for that reply. I did what you said - ie replace with a fresh copy and it works.

I tinkered with the file with information I had learnt from the following posts, which have to do with:
1. permissions being granted/not granted
2. changing the maximum size of the file

The last one is a link to a site where a person can download FTP software.

http://forums.b2evolution.net/viewtopic.php?t=5453&highlight=permission+denied+media

http://forums.b2evolution.net/viewtopic.php?t=1132&highlight=permission+denied+media

http://www.smartftp.com/

Thank you.


Form is loading...