Loading...
 
Development

Development


facebook like button interfering with site

posts: 6

Hi,

I haven't been using tiki very long and am learning it by trial and error. I don't have much of a vocabulary with these things, so please bear with me here.

I tried to insert an iframe code for a facebook "i like" button into the custom html header of my main page (this is located in the same editing section as the page where you change your tiki logo etc). Anyway, it looks like I put this iframe code where I shouldn't have because my index page is now a blank and I can't re-access the admin console.

Can someone tell me where the code to this editing section might be located? I've check the index.php but can't seem to find the "iframe" text that I sorely need now to delete.

Again, sorry if my explanation is confusing, I'm not an IT guy and am just beginning to learn how to use your wonderful groupware.

Thanks for any help you can give in saving me time!~

Slodo


posts: 2428 Czech Republic

Hi,
the code you inserted most probably contained curly brackets which PHP Smarty then thinks and interprets as Smarty syntax. That is why it fails then. To avoid that you need to insert it wrapped inside {literal}...{/literal} tags there.

To fix it using your Tiki via browser, you have to switch off the Custom Site Header code first. You can do it by going to this relative URL in your address bar:

Copy to clipboard
tiki-admin.php?page=look&looksetup&cookietab=2&lm_preference[]=feature_sitemycode

After you click the checkbox again, you can correct your code with the {literal}...{/literal} tags in the textarea and Apply again.

luci

posts: 6

Thank you both for your replies. Unfortunately I was still unable to sort through it.

Ricks, is the explanation in the primer relevant to all versions of tiki? I ask because I cannot locate tiki_preferences in my database. I've searched every where.

Luci, when I paste the relative url after my web address I can't pull anything up. Is there a step I'm missing here?

Gracias amigos,

Slodo


posts: 4656 Japan

Try the URL tiki-admin.php?page=look&feelsetup&cookietab=2&lm_preference[]=feature_sitemycode . Seems to be a typo in the one luci wrote.

--Gary


posts: 4656 Japan

Oh ok, luci. I'm not sure why I didn't get the result when I tried it; apparently something else was involved. It's interesting that the version of the URL I posted also works (well, I don't know the logic of the URL so maybe it's not so interesting wink.

-- Gary


posts: 6

Hi gentlemen,

I'm still having trouble accessing my site. Is there something I need to do differently to reach a login page or control panel when entering that url other than typing in my url

"http://.....com/tiki-admin.php?page=look&looksetup&cookietab=2&lm_preference[]=feature_sitemycode" ?

Perhaps I'm missing something here.

As for my version Rick, I believe I am using Tiki 6.0. Is there an alternative .php where my information might be stored?

If I am unable to correct the problem, as a last result, I will reinstall Tiki. Before doing so, I would like to recover some things first. So I have a final question in case everything else fails. Where can I locate the user-created wiki pages in the DB?

Thanks for any further assistance,

Slod


posts: 3665 United States

Everything is in the database — not individual files. Your wiki page content is in the tiki_pages table. However, if your database is missing the tiki_preferences table, then you have bigger problems. Can you confirm that you don't have corrupt or "crashed" tables in the DB?


HTH,

- Rick | My Tiki Blog | My Tiki UserPage
Need more help? Try Tiki for Dummies Smarties: A beginner's guide and Tiki Essentials: What all Smarties need to know about Tiki Wiki CMS Groupware.
Coming Soon: Tiki Essentials, the book, available from ))LuLu(( and Amazon.com


posts: 6

Hi Rick,

It may very well be the case that my tables have crashed. I cannot locate a tiki_pages either-- have only a 'tiki-page' in my DB. Is there some place I can look in the DB like a crash log to track what might be wrong?

Thanks,

Slods


posts: 6

Hi Rick,

After reinstalling, those missing tables, 'tiki-preferences' still aren't there. Perhaps it's the installer? I'm using my softalicious to install tiki through my hoster.

Before I reinstalled I made a back-up. Now I hope you guys can help me with this. I don't think it should be difficult. I'm just looking to retrieve some text I had written for the Wiki Homepage.

Does anyone know which file I would need to access to retrieve what was on this Wiki Homepage?

Thanks,

Slodo


posts: 3665 United States

Please confirm that you're looking at the correct Tiki database. If you're missing the tiki_preferences table, Tiki will not operate at all.


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Now Available: Tiki Essentials, the #1 (and only) book for Tiki! Learn more...

Need more help? Try Tiki for Dummies Smarties: A beginner's guide and Tiki Essentials: What all Smarties need to know about Tiki Wiki CMS Groupware.


posts: 6
No, it's completely frozen. I'm working entirely from the file manager database.
posts: 42 United Kingdom

Hi slodo

It appears to me you are looking in the file system, and not the database.

Are you using phpmyadmin or similar?

The mysql database is completely separate from the file system.

If you are hosting, your service provider should give you access to phpmyadmin (or sometimes it's just called database) from your hosting control panel.

ps - make sure popups are not blocked on your browser for that site, as that is how phpmyadmin often works.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting