1
worlds
Re: Install successful, blank page, have error
  • 2005/6/13 8:52

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Hmm. Rebooting after the above fixed it.

Odd that restarting apache (with rcapache2) did NOT fix the problem.

Tom



2
worlds
Re: Install successful, blank page, have error
  • 2005/6/13 8:36

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


On Suse, you run yast2 as root
select "software", "Install and Remove Software"
select "Filter", "search", and enter php
Choose the optional PHP modules (e.g. php4-session, in this case).
select "accept".

Still doesn't fully fix it. I think I need to reconfigure PHP to enable sessions. That's next.

May I strongly suggest that the debug config option should be turned ON when installing xoops.

As in:
Quote:
UPDATE xoops_config SET conf_value=1 WHERE conf_name = 'debug_mode'"


It could be turned off after the installation successfully completes, if you want. Why not ask the user whether is should be turned off after a successful install?

But someone installing XOOPS for the first time would not know to turn messages on, and having messages would cut out quite a bit of frustration on installing.

Note that it's not a successful install until you have displayed the main page. The bug we are discussing does not occur during install, but when trying to display /index.php for the first time.

Tom
p.s. I wonder what other optional PHP modules are required for Xoops? Is there a list somewhere?



3
worlds
How do I internationalize product names in XooperStore
  • 2004/7/8 20:08

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Hi -

I've been testing XooperStore for amazon.de, and one of the testers reports
Quote:
it seems to work so far, what i realized is that the text of "product name" is encoded in utf-8? german titles look like "Wanderführer" which isn't very nice . what must i do that xooperstore encodes the imported titles correct to display correct ISO-8859-1 ... with ä ö ü ??


I'm not sure what the fix is, can someone point me in the right direction?

Thanks,

Tom



4
worlds
Re: XooperStore for amazon.de, .uk, and .de
  • 2004/7/5 20:44

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Hi -


Do you mean seaching with the "search amazon" block?

Quote:

But could it be that it displays an error message if you search with a small letter at first.

'stargate' gives me an error message but

'Stargate' gives me a list of products?


Do you have a web site that I could look at this on? I'll try to duplicate it, but I don't really do anything but pass the query through. So it may just be amazon.de for some reason. But I did just try querying amazon.de for "stargate" and it works fine. But I'll check.

And I'd love to get translations!

Tom



5
worlds
XooperStore for amazon.de, .uk, and .de
  • 2004/7/4 18:13

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Hi -

I put up a test version of XooperStore (1.07), which has support for amazon.uk, .de and .jp. (not all at once, just one at a time

It's available athttp://www.worldware.com/modules/mydownloads/viewcat.php?cid=3

See the last page of the docs for configuration instructions
http://www.worldware.com/modules/xooperstore/docs/xooperstore.html#intl

Feedback is really appreciated.

Tom
p.s. If you are interested in XooperStore in Japan, take a look athttp://www.clubgroovy.com/modules/newbb/viewforum.php?forum=5

And then tell me what it says! I can see they are talking about XooperStore, but I don't speak Japanese.




6
worlds
Re: xooperstore not displaying in module
  • 2004/6/13 20:23

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Hi -

Sorry I didn't see this earlier. Are you still having problems?

Try turning on database debugging.

Is your website on line, and can you give me a URL?

Thanks,

Tom



7
worlds
Re: Xooperstore in german?
  • 2004/6/13 20:19

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


[edit: Actually, I think I haven't posted this version yet. I'll put it up when I get home tonight]

There is a test version that can be configured to use amazon.de, on my website www.worldware.com in the downloads section, under "test software". See the docs for instructions for how to configure it for germany.

http://www.worldware.com/modules/mydownloads/viewcat.php?cid=3

I don't have a german translation, though. But if you wanted to translate it, that would be great.

If you don't know, translating is easy (if you speak the language), and requires no programming. Just copy the langage/english directory to language/german (deutsch? Someone tell us which it is.) And change the english strings to german equivalents.

If you do translate xooperstore into any other languages, please forward the translation to me so I can include it in the base distribution.

Try it, and let me know how it works for you.

Tom




8
worlds
Re: Blocks - solved
  • 2004/5/13 20:32

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Got it.

And, in fine XOOPS tradition, I'll observe that you can find an explanation in the forums, at least a partial one,
here

But the core problem is that block code is not the same as module code. It's not running with the same context as module code (no $xoopsModule), and it is included from within a function, so the code in system.php that you THINK is at global scope, is really within a function.


So, to fix:
1) Take references to xoopsModule out of system.php, if you are going to include it from block code. (You don't use it there anyway)

2) Move ALL CODE in system.php into functions (which is a good idea anyway). That way you will realize you have to have all the needed "global" statements.

I'd actually like to see this changed in 2.07, as it adds a lot of confusion, and compicates code sharing, but that's another long post.

Tom
p.s. As a "quick fix", in system.php comment out the $mid line, and then add
global $xoopsDB;


Then once you see that it works better, go back and fix it right.



9
worlds
Re: Blocks
  • 2004/5/12 21:10

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Hi -

If you want to post a link to a zip with the whole module, people can install it, and see what's up.

But flying blind (with only parts of the module definition), there's not much we can do but guess.

Tom



10
worlds
Re: Blocks
  • 2004/4/14 19:21

  • worlds

  • Just popping in

  • Posts: 61

  • Since: 2004/3/13


Quote:
I've gone over the code several times now. It must be a punctuation thing or something.


Have you tried just running PHP from the command line? I do that to catch my punctuation errors. Which I make a lot of.

php -f blockxxx.php

Also check your included files.

If you post the code, it's easier to help.

BTW, For some reason, I don't see as many syntax errors in my XOOPS code, as I get from pure PHP (admittedly on a different machine).

Is there some PHP/modPHP setting I should change to enable all errors? Or is it just a "xoops thing"?

Thanks,

Tom





TopTop
(1) 2 3 4 »



Login

Who's Online

148 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 148


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