CustomFields into Spanish and now my website won't open.

William Silva Posted in Technical Support 4 years ago

Help!

I went to translate the component - CustomFields into Spanish and now my website won't open.

https://new.talk-pet.com/

Replies
Breton William Silva Replied 4 years ago

~Z~ Man,

thank you very much worked.

German Michael Zülsdorff Replied 4 years ago

Use a tool like phpmyadmin or similar to connect to your database
select the table ossn_site_settings
change the value named cache from 1 to 0

enter image description here


use your FTP tool and remove the subdirectory named cache located in your Ossn main directory

Breton William Silva Replied 4 years ago

~ Z ~ Cara,

Obrigado pela dica deu, certo!

Limpei o cache pelo banco de dados.

Breton William Silva Replied 4 years ago

~ Z ~ Man,

I really forgot to disable it.

How can I disable or clear the cache now?

German Michael Zülsdorff Replied 4 years ago

William,
it looks like you did not disable Ossn cache (as advised in https://www.opensource-socialnetwork.org/wiki/view/2132/how-to-translate-ossn Chapter III)
before you tried to apply your translation.

Can you confirm that you did not disable cache?

Breton William Silva Replied 4 years ago

22-May-2020 04:00:33 UTC] ParseError: syntax error, unexpected '' demasiado corto o inválido ' (TCONSTANTENCAPSED_STRING), expecting ')' in /l/sites/new.talk-pet.com/site/components/CustomFields/locale/ossn.es.php:34
Stack trace:

0 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.cache.php(226): ossntriggerlanguage_cache(1590120033)

1 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.cache.php(158): ossnlinkcache_files(1590120033)

2 /l/sites/new.talk-pet.com/site/actions/administrator/cache/flush.php(19): ossncreatecache()

3 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.actions.php(51): include_once('/l/sites/new.ta...')

4 /l/sites/new.talk-pet.com/site/system/handlers/actions.php(13): ossn_action('admin/cache/flu...')

Breton William Silva Replied 4 years ago

already deletes the directory file and nothing to open..follow the error log
[19-May-2020 01:33:46 UTC] ParseError: syntax error, unexpected 'bpage' (T_STRING), expecting ')' in /l/sites/new.talk-pet.com/site/components/BusinessPage/ locale / ossn.es.php: 45
Stack trace:

0 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.languages.php(167): ossnloadavailable_languages ​​()

1 /l/sites/new.talk-pet.com/site/components/LanguageSwitch/plugins/default/js/langswitch.php(12): ossngetinstalled_translations ()

2 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(27): include ('/ l / sites / new.ta ...')

3 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(50): ossn_include ('/ l / sites / new.ta ...', Array)

4 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.plugins.php(75): ossn_view ('/ l / sites / new.ta ...', Array)

5 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(111): ossnpluginview ('js / langswitch', Array)

6 /l/sites/new.talk-pet.com/site/themes/goblue/plugins/default/theme/page/page.php(36): ossnfetchextend_views ('ossn / js / head')

7 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(27): include ('/ l / sites / new.ta ...')

8 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(50): ossn_include ('/ l / sites / new.ta ...', Array)

9 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.plugins.php(75): ossn_view ('/ l / sites / new.ta ...', Array)

10 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(210): ossnpluginview ('theme / page / page', Array)

11 /l/sites/new.talk-pet.com/site/system/plugins/default/pages/index.php(13): ossnviewpage ('Welcome', '<div class = "oss ...')

12 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(27): include ('/ l / sites / new.ta ...')

13 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.views.php(50): ossn_include ('/ l / sites / new.ta ...', Array)

14 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.plugins.php(75): ossn_view ('/ l / sites / new.ta ...', Array)

15 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.initialize.php(185): ossnpluginview ('pages / index')

16 /l/sites/new.talk-pet.com/site/libraries/ossn.lib.page.php(67): ossnindexpagehandler (Array, 'index')

17 /l/sites/new.talk-pet.com/site/index.php(22): ossnloadpage ('index', Array)

18 {main}