K
(@koelle)
Could you post the complete Tag?
Thread Starter
Monika
(@monika)
I can say what I have done, because I don’t know what your are mean with :could you post the complete Tag
I activate your plugin:
OptionsPage:title:foto
Number of Datas:5
Use Widget:Yes
NaviLink:Yes
Images:width and height
safe
add data:
Name:
Upload one image
safe
Design==>Widget I activate the widget
… no image
source code shows me the false link
error logs:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 f\xc3\xbcr die Abfrage(=Query) SELECTid,name,image,cat_ids,user_idFROM testcms_projectmanager_dataset WHEREid` = in require_once, include, WP_ProjectManager->addDataset, WP_ProjectManager->uploadImage, WP_ProjectManager->getDataset, referer: ….wp-admin/admin.php?page=projectmanager/page/dataset.php&project_id=1
`
kindly regards
Monika
K
(@koelle)
Hey,
does the image upload really work? When you edit a dataset with an image, does it show a thumbnail on the right? Another check, does your wp-content directory have a subdirectory “projectmanager” and are there any images in it? Could you also post the complete link code?
This would help me in finding the error.
regards,
Kolja
Thread Starter
Monika
(@monika)
hi yes the images are there
your system told me I have to create a directory *projects* under wp-content
and in this folder there are now some images;)
their names: thumb.0205-linz-kids.jpg and the little one tiny.0205-linz-kids.jpg and the original is there too.
no it shows no thumb if I edit a dataset with an image
I’ll try to rename the subdirectory to*projectmanager*- -but this doesn’t work
error
/*
Das Verzeichnis /…/..//wp-content/projects konnte nicht erstellt werden. Ist das darüberliegende Verzeichnis für den Webserver schreibbar?*/
in english… I can’t create a folder *projects* 🙂
do it by yourself or make wp-content writeable
+++++++++++
ok now is wp-content writeable (but I hate to do this 🙁 )
+++
nothing no photo…
maybe I need an example how to create a correct project- step 1-step 3-and so on- because I think there is something false ..
thanks
Monika
K
(@koelle)
Hey Monika,
I have just released a new version where I move the image directory to wp-content/uploads. this should be writable by the server anyway. After updating and re-activating the plugin all the images are moved from the old to the new directory.
Then edit a dataset and upload an image. You can check if it was uploaded and the name correctly inserted into the database by the following steps:
1) No error occurs 😉
2) After uploading an image edit the dataset again. If there is a small image displayed on the right it should be all correct
3) check wp-content/uploads/projects if the image is there (should be, if step 2) was OK)
If the above steps are correct the image should also be displayed in the widget. If you use the Slideshow only datasets that have an image are displayed.
Regards,
Kolja