1
hardyvoje
Embedding PHP code in theme template?
  • 2007/4/25 21:36

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Hello!

What is the easiest way to implement PHP snippet into template / theme?

I need to put PHP code to display footer information in bottom of page (data will be delivered via database).

Is there something like [php]mycode[/php]

?
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



2
hardyvoje
Re: Duplicating blocks?
  • 2007/1/6 0:24

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Thanks!
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



3
hardyvoje
Duplicating blocks?
  • 2007/1/5 20:43

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


How hard should be Blocks duplicating?

For instance, I need two or more same blocks but with different settings?

Is there some easy way to do it, or i have to hack module?

THANKS!
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



4
hardyvoje
Suddenly new users can't register to omnetwork.net
  • 2006/8/15 15:52

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Hello, people.

I have problem with new users registration (xoops 2.2). Everything worked fine and 1567 users registrated and activated but suddenly problem occured up and no one can't register:

When visitor fill info on first page, next page is for confirmation and then, when we press finish button, Apache reports such error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, hardy@omnetwork.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


I'm using hosting services from third-party company, so I can mess with server settings. Also, I changed nothing to files and i tried to re-upload it.

I don't know if it is about XOOPS or hosting admin something changed...
Please help.
I hope someone had same experiences!

Thanks!
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



5
hardyvoje
Re: templates_c files deleted, how to recover it?
  • 2006/6/26 5:52

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I can not, but, what is SQL line to turn on this config?

I can upload php script to set that.
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



6
hardyvoje
Re: templates_c files deleted, how to recover it?
  • 2006/6/25 19:25

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I'm using Web File Manager, I don't like it but I must because of server administrator that is affraid of FTP, so, what I can see, that all mentioned folders are writable.

I know that it works fine, because this XOOPS worked a little bit, before i deleted this files and uploaded new theme...

Now I'm wondering how to update modules cause i can't go to admininistration pages, I can't see nothing...

thanks for help!
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



7
hardyvoje
Re: templates_c files deleted, how to recover it?
  • 2006/6/25 19:17

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


hm, the problem is that i can't go into admin pan, because this is at home page, (main pages)

hmmm...
?

(system module)
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



8
hardyvoje
templates_c files deleted, how to recover it?
  • 2006/6/25 18:54

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I have deleted files from template_c folder, because I uploaded new theme files and i'm using this method to force XOOPS to use new files insteed of cahced ones.

Now, my XOOPS has blank pages with debug errors:

Warning [PHP]: fetch(C:/site/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php): failed to open stream: No such file or directory in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(): Failed opening 'C:/site/templates_c\%%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php' for inclusion (include_path='.;c:\php4\pear') in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(C:/site/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php): failed to open stream: No such file or directory in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(): Failed opening 'C:/site/templates_c\%%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php' for inclusion (include_path='.;c:\php4\pear') in file C:\site\class\smarty\Smarty.class.php line 1255
Warning [PHP]: fetch(C:/site/templates_c\%%20^200^200DC337%%theme.html.php): failed to open stream: No such file or directory in file C:\site\class\smarty\Smarty.class.php line 1248
Warning [PHP]: fetch(): Failed opening 'C:/site/templates_c\%%20^200^200DC337%%theme.html.php' for inclusion (include_path='.;c:\php4\pear') in file C:\site\class\smarty\Smarty.class.php line 1248


It's clear, deleted files mising. I tried this way of theme reseting on other XOOPS installations and XOOPS sucessfully recreated this files, but, this is some older version of XOOPS 2 (I don't know which one, other guy installed). Can someone please help me, how to tell XOOPS to recreate there chache files?

Thanks in advance!
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



9
hardyvoje
Re: How to change encooding?
  • 2006/4/19 1:39

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Now I have to change mySql client encoding set to Latin2

I tried to insert
mysql_query("SET CHARACTER SET 'latin2'", $this->conn);

into class/database/mysqldatabase.php

but it seems that command is ignored!

help!
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org



10
hardyvoje
Re: How to change encooding?
  • 2006/4/5 7:20

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


Thanks!!

But is UTF-8 multi byte?
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org




TopTop
(1) 2 3 »



Login

Who's Online

214 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits