1
krobi
admin problems
  • 2004/4/18 2:15

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


hello

so i have two problems in the admin area

first i have a problem with my template manager,

we made a copy of the orignal template set so we could edit this files easily, that works very well for a long time but now we have the following problem

Quote:

Fatal error: Call to a member function on a non-object in e:\Domainserver\power-dreams.com\html\xoops\modules\system\admin\tplsets\main.php on line 93


this error appears when i open the template manager, he began to load and stops at the first modul, but ALL moduls works fine without any problems

and we use the original main.php, so wie never edit this file

my second problem is
we changed our server from a nt based server to a linux based server, and now i cannot install moduls right.

for example here is what XOOPS does when i want to install the "treemenuXL" modul, this is only a example and it happend with other moduls also

Quote:

Installing TreemenuXL


Version: 0.5
Author: .: dAWiLbY :.
based on HTML_TreeMenuXL 2.0.2 by Chip Chapin,http://www.chipchapin.com
(which is based on TreeMenu 1.1.0)

Module data inserted successfully. Module ID: 104
Adding blocks...
Block Hauptmenü added. Block ID: 289
Template block_treemenuxl.html added to the database. (ID: 2406)
Template block_treemenuxl.html compiled.
Setting group rights...
Added admin access right for Group ID 1
Added user access right for Group ID: 1
Added block access right. Block ID: 289 Group ID: 1
Added user access right for Group ID: 2
Added block access right. Block ID: 289 Group ID: 2

Modul TreemenuXL wurde erfolgreich installiert.

Kann nicht im Hauptmenü aufgeführt werden.


Zurück zur Moduladministration


i use the german language pack so this is why its in german , in englisch the message "kann nicht im hauptmenü aufgegührt werden" is called something like this "cannot add to main menu"

so i think i did something wrong with the file settings, the attributes, the permission or how that is called

on the old win nt powered server we dont need to set this file permissions, XOOPS always works great without setting them but on the linux server it seem to be important to set the right permissions

hopefully someone can tell me the right permissions for all XOOPS files. and i hope someone can help me also on my first problem

it would be great

2
krobi
Re: admin problems
  • 2004/4/18 21:04

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


nobody have a idea

[size=x-large]PLEASE HELP ME[/size]

3
Mithrandir
Re: admin problems

I cannot help with 1) except think that somehow the template is corrupted and thus XOOPS is not able to load it into a template object and hence not able to run a method on it.

2) three folders need writable access by the webserver:
cache
templates_c
uploads

whether it should be CHMOD (access definitions) 666 (writable by both owner, group and others) or 660 (writable by owner and group, but not others) or possibly 600 (writable by owner only) depends on whether the webserver runs as the user, who owns the files, in the same group as the file owner or not.

Similarly the files in the folders should be CHMOD'ed 777, 775 or 755

mainfile.php should be CHMOD'ed 444 after successful installation

4
krobi
Re: admin problems
  • 2004/4/18 23:15

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


thx's for your infos

i hope someone can also help my on the first problem

maybe is there a way to backup my templateset? and delete it from xoops? maybe there is a bug in my template set

where does XOOPS save the new templateset?

5
krobi
Re: admin problems
  • 2004/4/19 18:09

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


does anyone have a idea??

6
krobi
Re: admin problems
  • 2004/4/20 22:37

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


[size=x-large]PLEASE HELP ME[/size]

its a very nasty bug that i have with the templatemanager and i hope someone have a idea how i can fix this problem

7
Dave_L
Re: admin problems
  • 2004/4/21 0:44

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I would check the database to make sure the table names are correct. When I installed XOOPS on Windows, it translated all the table names to lowercase, which might cause a problem if the database were moved to Linux.

8
krobi
Re: admin problems
  • 2004/4/22 22:22

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


oh thx thats a good idea
but the problem was on the win nt server also but i will check it, so hopefully we could find a solution

9
krobi
Re: admin problems
  • 2004/4/22 22:53

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


where should i look for that? in what database name? and what name is the rigt one? is there any file that says okay you want that templateset so here is the name of it and look into this database table.

is there any way to backup the second template set and to delete it rightly so XOOPS dont even look for it, maybe this is the error

i dont know

10
tl
Re: admin problems
  • 2004/4/22 23:26

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Not sure if it applies. If
you had the phpmyadmin installed
you were using a different set or a set of cloned templates, the default set of templates was not touched

You could manually change the templates back to default by editing the table (prefix)_config - locate "template_set" under "conf_name" and change it to "default"

Hopefully this would get you back to the template manager.

Login

Who's Online

239 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits