error while updating cache

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Cyrus
Posts: 63
Joined: Mon 22. Mar 2004, 05:40
Location: New Zealand
Contact:

error while updating cache

Post by Cyrus »

Upgrade from RC4 27-8 TO 1.1.9 DEV

Have set cache_timeout to 0 in config.inc.php as suggested in another thread but am still getting the following errors.

1. When editing articles the changes take effect but the notice within the backend reads 'error while updating cache'

2. When editing structure level in Admin, after I send category data, changes take place but arrive at an error page that reads as'error while updating cache' and have to back browser to arrive at corrected admin page.

I don't see anyone else with this, so was wondering where I have gone wrong?
Cyrus
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

you can empty the cache by empting the cashe field in the database....
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Do you have a table "phpwcms_cache". This is neccessary also when cache_timeout = 0.

Caching is always on - but if timeout set to 0 it does not reads from cache. Cached content is used for new search (under construction).

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Cyrus
Posts: 63
Joined: Mon 22. Mar 2004, 05:40
Location: New Zealand
Contact:

Post by Cyrus »

Do you have a table "phpwcms_cache".
Yes
Cyrus
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Try if the following SQL query results in an error direct in phpmyadmin:

Code: Select all

UPDATE phpwcms_cache SET cache_timeout='0';
If you have a prefix for table names use:

Code: Select all

UPDATE MYPREFIX_phpwcms_cache SET cache_timeout='0';
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Cyrus
Posts: 63
Joined: Mon 22. Mar 2004, 05:40
Location: New Zealand
Contact:

Post by Cyrus »

SQL-query:
UPDATE phpwcms_cache SET cache_timeout = '0'

MySQL said :
#1054 - Unknown column 'cache_timeout' in 'field list'
Cyrus
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

OK, then you know your problem ;-)

Your db is not correct.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Cyrus
Posts: 63
Joined: Mon 22. Mar 2004, 05:40
Location: New Zealand
Contact:

Post by Cyrus »

Thanks....rectified :)
Cyrus
Post Reply