Forum
Product Tag not adding in Shop and missing file
Im trying to add a tag for a product and it says;
"Your product option has been successfully edited. Return to option listing"
But the tag isn't listed anywhere and if I click on the option link in the message I get;
Not Found The requested URL /perch/addons/apps/perch_shop_products/tags/ was not found on this server.
I saw a similar post, but looks like theirs was fixed updating to 1.0.4. I updated before doing this and they are not showing
Diagnostics
Perch: 2.8.29, PHP: 5.4.42, MySQL: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.29), assets (2.8.29), categories (2.8.29), perch_shop_orders (1.0.4), perch_shop_products (1.0.4), perch_shop (1.0.4), perch_members (1.5)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_members', 'perch_shop', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /Volumes/FFD Web Work/Euro Med/root/perch
PERCH_CORE: /Volumes/FFD Web Work/Euro Med/root/perch/core
PERCH_RESFILEPATH: /Volumes/FFD Web Work/Euro Med/root/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
HTTP_HOST: euromed
DOCUMENT_ROOT: /Volumes/FFD Web Work/Euro Med/root
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
It sounds as if you are missing files if you are getting a not found.
I've just re-downloaded the shop update and replaced the folders in the app folder and its still the same. Going through the folder structure, there isn't a tags folder in perch_shop_products folder... but then there isn't one in the 1.0.4 download either? There's one in the product folder inside perch_shop_products ?
So you're saying there's a broken link?
I think so. I've created a video of what I'm doing
Video
Have you edited the template at all?
Are repeaters working elsewhere for you?
Was this a clean install of 1.0.4?
I've only edited the product.html at the mo, but as a test I've deleted my templates so that it uses the default ones... same result
Repeaters are working fine elsewhere
Installed 1.0.3 and updated to 1.0.4
Do you get any errors in your browser console?
No errors (Safari error console)
Here is the debug when saving a tag;
I've forced an update and its now adding the tags. I did get quite of lot of red errors in the debug on the software update page, is that normal?
What were the errors?
I've re-done the force update process on backup and get the errors below;
I haven't really done much with this site other than add a page-worth of content and setup one product, so if you feel it would be safer to start again let me know.
That's fine - it's just stating that the change can't be made because it's already been made.
Thanks Drew
As a note. I noticed that the force update hadn't worked on this version and wouldn't let me know add a tag again. But adding a member has fixed this. So do you have to have a member in the system to be able to add a tag to a product?
Either way its fine now.
Had you installed the Members app at all?
I had as part of shop, but not added a member. It was in the apps config as per the shop instructions.
I wonder if the tables hadn't yet been created. Glad it's sorted.