Jump to content
thirty bees forum
  • 0

Cant edit or add new products


Question

Posted (edited)

Im unable to add new products or edit exisiting ones. I have a new installation of thirtybees.

On the Catalog/ Products page upon submit of editted or new product I get:

2 errors

  1. Products must be in at least one category.
  2. This product must be in the default category.

 

Edited by Mark

19 answers to this question

Recommended Posts

  • 1
Posted
7 hours ago, Mark said:

Everything went well yesterday, however today it's not good @wakabayashi

Ive cleared the entire cache/history everything, tried a totally unused browser.

Still it will not work, same issues as yesterday before it was fixed. (fixing things as I did yesterday does not work today)

 

EDIT Using Firebug I get these two errors

ReferenceError: show_new_orders is not defined  (notifications.js:57:3)

ReferenceError: $ is not defined (dashgoals.js:163)

There is really something very wrong with your site. More precisely, there is some cache somewhere that is returning non-thirtybees files.

1) Thirtybees contains notification.js file, but this file does not contains references to show_new_orders at all

2) thirtybees version of dashgoals.js javascript file contains this content on line 163:

$months = $this->setMonths($year);

As you can see, there is no reference to $, so the error can't be trigger.

The only explanation is that something somewhere is returning old/prestashop versions of these files. Please make sure to

1) clear browser cache

2) clear server cache

3) clear any proxy server cache (nginx, cloudflare, or any other service that might be between your server and your browser)

 

  • Thanks 1
  • 0
Posted (edited)

OK, I cant see where to edit/add categories. For a new user, its wee bit disconcerting to find a terminal issue in the Add Product basics section.

 

It is awesome though to have two super fast responses thanks, no I havent yet enabled multistore @wakabayashi

 

Edited by Mark
Thank forum users
  • 0
Posted (edited)

Nope, this is what I'm seeing,

 

Don't panic about the object in the middle of the page, that's just the screenshot software, its not in the middle of the page

Screenshot_2019-05-16 Products Edit Tin Cup • Product Solutions NZ.png

Edited by Mark
image comment
  • 0
Posted
1 minute ago, wakabayashi said:

Oh thats not how it should look like. Have you already created a category? You can do that in the main menu on the left side... Maybe that helps.

No, I can't see where to add categories @wakabayashi

Here's a better picture

Screenshot_2019-05-16 Products Edit Tin Cup • Product Solutions NZ(2).png

  • 0
Posted (edited)

Oh right, no there's nothing expanded at all under the Catalog menu.

If I click on Catalog I just get this

 

(In fact no left hand menus expand)

Screenshot_2019-05-16 Products • Product Solutions NZ.png

Edited by Mark
Noticed something else
  • 0
Posted

I think I might have solved the problem @wakabayashi

Before I installed thirtybees I was using prestashop on exactly the same folder. Then I removed prestashop and installed thirtybees

I suspect that's created a number of issues with cache, cookies etc.

I did what you suggested and cleared the cache and now I can see many more items.

I'll try this for a bit to make sure, but I think that was the problem

  • Like 1
  • 0
Posted
10 minutes ago, Mark said:

I think I might have solved the problem @wakabayashi

Before I installed thirtybees I was using prestashop on exactly the same folder. Then I removed prestashop and installed thirtybees

I suspect that's created a number of issues with cache, cookies etc.

I did what you suggested and cleared the cache and now I can see many more items.

I'll try this for a bit to make sure, but I think that was the problem

Yep thats likely to issue... Please dont' forget to update this thread later...

  • 0
Posted (edited)

Everything went well yesterday, however today it's not good @wakabayashi

Ive cleared the entire cache/history everything, tried a totally unused browser.

Still it will not work, same issues as yesterday before it was fixed. (fixing things as I did yesterday does not work today)

 

EDIT Using Firebug I get these two errors

ReferenceError: show_new_orders is not defined  (notifications.js:57:3)

ReferenceError: $ is not defined (dashgoals.js:163)

Edited by Mark
Clarification
  • 0
Posted
5 minutes ago, datakick said:

This gave me an idea for simple module to flush cloudflare cache (via api call) when store cache is cleared. 

Great idea. It would have saved me hours of trying to figure out the problem if I'd seen it. Is it possible to also flush the browser's cache?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...