Forum

Thread tagged as: Problem, Error

Odd textarea image problem

On a development site when I insert an image into a textarea the code goes into the textarea with a space after the first exclamation mark, so effectively it doesn't display. I've been getting round it in production by removing the space but obviously it's not ideal for the client.

!   /perch/resources/navigation-road-primary-school-2.jpg(Navigation Road)! 

When I add Perch debug to the site and check the page an error is coming back saying

Invalid query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'smart.perch2_resource_log' doesn't exist

I imagine this is related so is there a way I can fix this?

Thanks, John.

John Robinson

John Robinson 7 points

  • 4 years ago

Discovered there were missing tables which is odd as it's a completely fresh install. Ran this and it's added the missing tables but the image still goes into the textarea with a space after the first exclamation mark. Really odd.

/perch/core/update/?force=update

I've decided to switch to Redactor and it's all working fine so don't worry about this short term.