help a newb out? Picture upload syntax error

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jgq85
Posts: 5
Joined: Fri Feb 14, 2014 1:03 am

help a newb out? Picture upload syntax error

Post by jgq85 »

Hi

I have download and installed today phpmyfaq on a windows 2008 server, that I installed xammp on as a means of getting apache and mysql on it...

I was able to install after I created the database, and am trying to create a new FAQ in the website.

However when I try to insert an image via file upload in the FAQ article, it's unable to upload and I get an error.

I've tried uploading a picture straight from the C-drive, and another via network unc path, so I don't think the path or filenames have to do with it...maybe I'm wrong though.

c:\image.jpg
\\share\folder\image.png

---------------------------
Message from webpage
---------------------------
SyntaxError: Expected identifier, string or number
---------------------------
OK
---------------------------
fileuploadformerror.png

Anything I can check to get this fixed?
You do not have the required permissions to view the files attached to this post.
jgq85
Posts: 5
Joined: Fri Feb 14, 2014 1:03 am

Re: help a newb out? Picture upload syntax error

Post by jgq85 »

Xampp says I'm on PHP: 5.4.22

I suspect that might be the problem

I'll try upgrading and report back...
jgq85
Posts: 5
Joined: Fri Feb 14, 2014 1:03 am

Re: help a newb out? Picture upload syntax error

Post by jgq85 »

I'm still getting the strange error when I try to upload
Any other suggestions?
I completely removed xampp and phpmyfaq, re-installed from scratch and am now on PHP: 5.5.6
jgq85
Posts: 5
Joined: Fri Feb 14, 2014 1:03 am

Re: help a newb out? Picture upload syntax error

Post by jgq85 »

If I want to put a picture into an FAQ, I can open it in IE and then copy/paste it from one tab into the WYSIWYG editor in the FAQ,
it's just that, I cannot "file upload" it when I choose the insert image icon in the wysiwyg text editor
I get that syntax error
Whether using IE/Chrome/Firefox..
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: help a newb out? Picture upload syntax error

Post by Thorsten »

Hi,

which version of phpMyFAQ do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jgq85
Posts: 5
Joined: Fri Feb 14, 2014 1:03 am

Re: help a newb out? Picture upload syntax error

Post by jgq85 »

It was latest I downloaded from this website 3 days ago
I can't check now I uninstalled it, was going to try re-installing again
Post Reply