1
seongbae
adding another database
  • 2005/9/20 19:49

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


Is there a way to add 2nd database to the config file? I am creating a module and the data it needs is located on a remote server.
Thank you.

Seong



2
seongbae
how to add 2nd database?
  • 2005/7/25 3:45

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


Hello,
I'm working on a module that needs to get data from a remote database. For now, it only has one block and in that block php file, I'm creating a new database connection. It works extremely slow. Plus, I need to add some more blocks and I don't want to create new connection in each block, especially when they are on the same page.
What can I do to make this more efficient?
Thanks.



3
seongbae
"how to create module" documentations?
  • 2005/7/11 15:36

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


I apologize if this has been asked before. Believe me, I did search the site for past 20 minutes but could not find any.
Where can I find documentations on creating modules? Or any tutorials, examples, etc?
Thanks.



4
seongbae
page number missing after upgrading to Xoopsgallery 1.3.3
  • 2004/8/9 14:31

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


Hello. I upgraded my xoopsgallery to 1.3.3 and after that, all the page numbers have disappeared. Therefore, only first page is accessible.

Following is what I got after turning PHP debug mode on.

Notice [PHP]: Undefined property: app in file modules/xoopsgallery/config.php line 5
Notice [PHP]: Use of undefined constant no - assumed 'no' in file modules/xoopsgallery/config.php line 36
Notice [PHP]: Undefined index: showOwners in file modules/xoopsgallery/config.php line 59
Notice [PHP]: Undefined index: HTTPS in file modules/xoopsgallery/init.php line 74
Notice [PHP]: Undefined variable: GALLERY_NO_SESSIONS in file modules/xoopsgallery/init.php line 107
Notice [PHP]: A session had already been started - ignoring session_start() in file modules/xoopsgallery/session.php line 51
Notice [PHP]: Undefined variable: page in file modules/xoopsgallery/view_album.php line 42
Notice [PHP]: Undefined property: albumPage in file modules/xoopsgallery/view_album.php line 43
Notice [PHP]: Undefined property: viewedAlbum in file modules/xoopsgallery/view_album.php line 53
Notice [PHP]: Use of undefined constant sel_value - assumed 'sel_value' in file modules/xoopsgallery/view_album.php line 148
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 103
Warning [Xoops]: Smarty error: problem writing temporary file '/home/peachpie/public_html/templates_c/41179190a5bc0' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Utime failed: Operation not permitted in file class/smarty/Smarty.class.php line 1575
Notice [PHP]: Use of undefined constant _MB_SYSTEM_NOTIF - assumed '_MB_SYSTEM_NOTIF' in file modules/system/blocks/system_blocks.php line 153
Warning [Xoops]: Smarty error: problem writing temporary file '/home/peachpie/public_html/templates_c/41179190ad0f2' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Utime failed: Operation not permitted in file class/smarty/Smarty.class.php line 1575
Warning [Xoops]: Smarty error: problem writing temporary file '/home/peachpie/public_html/templates_c/41179190b1f32' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Utime failed: Operation not permitted in file class/smarty/Smarty.class.php line 1575
Notice [PHP]: Undefined variable: adminCommands in file modules/xoopsgallery/view_album.php line 196
Notice [PHP]: Undefined variable: tmpAlbumName in file modules/xoopsgallery/view_album.php line 209
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 32
Notice [PHP]: Use of undefined constant pageVar - assumed 'pageVar' in file modules/xoopsgallery/layout/navigator.inc line 33
Notice [PHP]: Use of undefined constant image_id - assumed 'image_id' in file modules/xoopsgallery/class/image.php line 163
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 721
Notice [PHP]: Undefined variable: attrs in file modules/xoopsgallery/util.php line 724
Notice [PHP]: Undefined variable: form in file modules/xoopsgallery/util.php line 727
Notice [PHP]: Undefined offset: 1 in file modules/xoopsgallery/util.php line 731
Notice [PHP]: Undefined property: mirrorUrl in file modules/xoopsgallery/classes/Album.php line 751
Notice [PHP]: Undefined variable: numPhotos in file modules/xoopsgallery/util.php line 938



5
seongbae
Will this decrease the chance of search engines finding my site?
  • 2004/8/3 20:52

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


I installed my XOOPS site under www.mysite.com/xoops/ directory. When I was installing Xoops, I had in mind of having another main non-Xoops site on the root directory. But later on, I decided not to have the main site. So for past year, I had index.htm in the main directory that uses <meta> redirect to send the users to www.mysite.com/xoops/, which sends the user to www.mysite.com/xoops/modules/news/.

So there are two redirections involved coming to the site. When I do search for my site on google, the result shows only www.mysite.com without the /xoops. So I was wondering if I move the XOOPS to the root directory, if it would increase the chance of my site being returned higher in the search results.

Also, when I give out the site to other people, I always use www.mysite.com. Should I move the XOOPS to the root directory?

Seong



6
seongbae
Re: Group Permission Problem
  • 2004/8/3 20:04

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


Just did a new search based on your info and found out that others had similar problems:

https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=19396&forum=7

https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=22444&forum=21

But I'm still having problem with users with system admin access not being able to access the page...



7
seongbae
Re: Group Permission Problem
  • 2004/8/3 19:01

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


I get following messages on both pages which I believe are not related to my problems:

Notice [PHP]: Use of undefined constant XOOPS_SYSTEM_THEME - assumed 'XOOPS_SYSTEM_THEME' in file modules/system/admin/themes/xoops_version.php line 44
Notice [PHP]: Use of undefined constant _MD_AM_TPLSETS - assumed '_MD_AM_TPLSETS' in file modules/system/admin/tplsets/xoops_version.php line 32



8
seongbae
Re: Group Permission Problem
  • 2004/8/3 3:47

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


Any help or ideas would be really appreciated :)

SEong



9
seongbae
Group Permission Problem
  • 2004/8/1 19:23

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


I have two problems with using Group Permission.

1) When I log-in as admin and go to "Modify Group" page, under Edit Members of this Group, I only see one Select list as in following screenshot. I believe there used to be two lists where you can select the people into the group. What happened to my other list?? I copied fresh modules/system/admin/groups files to the server but didn't help.

First Screenshot

2) I gave "Blocks System Admin Rights" to the newly created group called "Assistant Webmasters". But when one of them logs in and tries to access Blocks admin page, all they get is following:

Second Screenshot

How can I fix these two Group Permission problems?
Thanks.

Seong



10
seongbae
Where do I change domain name ?
  • 2004/4/29 4:24

  • seongbae

  • Just popping in

  • Posts: 20

  • Since: 2003/3/16


Upon going to www.mydomain.com, it redirects to www.mydomain.com/xoops/modules/news/. I just set up subdomain: xoops.mydomain.com. When I go there, it still redirects to www.mydomain.com/xoops/modules/news/.

I want to use xoops.mydomain.com/modules/news/. How and where can I change this? I looked at the xoops_config table but could not find where to set the domain.
Thank you.

Seong




TopTop
(1) 2 »



Login

Who's Online

234 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

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

Latest GitHub Commits