11
josez
Re: DB insertion problem after site transfer
  • 2005/3/23 18:42

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


i use windows (xp) firewall. i have turned it off and still have the problem. anhow, i use modified referer check function in file include/functions.php

function xoops_refcheck($docheck=1)
{
$ref xoops_getenv('HTTP_REFERER');
if (
$docheck == 0) {
  return 
true;
}
if (
$ref == '') {
  return 
true;//the very original
  //return true;//hacked code
}
if (
strpos($refXOOPS_URL) !== ) {
  return 
false;
}
return 
true;
}


i can think of two things which could cause the problem:
1. the DB is on a different server then the web (so i had to change 'localhost' in mainfile.php to actual server name)

2. the site domain is not yet transfered/registered so i left blank variable XOOPS_URL in mainfile.php and i'm testing the web by putting my hostname to file windows/system/etc/hosts on my computer along with the webhoster's server IP adress



12
josez
Re: DB insertion problem after site transfer
  • 2005/3/23 18:21

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


i have turned the MySQL debug on, but i was still getting only "errors none" or the orher message about not being able to post... there were no debug listings.
and now another error popped out - when i click administration menu i get "This is your first time to enter the administration section. Press the button below to proceed."
and when i click submit, the same page appears



13
josez
DB insertion problem after site transfer
  • 2005/3/23 17:52

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


Hi,
i'm currently transfering my XOOPS site to a different web-hoster.
after transfer i'm not able to post to forums and comments, etc.. allways getting "Could not insert forum post" error.

it's probably some promblem with writing to DB, but it's strange because using same user name and password i am able to insert or create tables on DB using PHPMyAdmin...

also it is not the problem with http referer (since i have changed the referer check procedure and posting worked on old site)

can anybody help me?



14
josez
Re: Problems With New Signups...
  • 2005/2/22 19:15

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


Thank you for the links. that solved my problem.
it's a shame that i was not able to find them myself...



15
josez
Re: Problems With New Signups...
  • 2005/2/22 18:19

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


I have exactly the same problem here (www.wargaming.sk)
the problem was reported by one user who works in a bank, so it's quite possible that reason for this is caused by some restrictive policies on his proxy.

but anyhow, he is able to log in (after i filled the registration form for him) but when hi posts, he gets errors: none page.

he must be able to use HTML-POST variable, because he can log in. he also use some other portal and forum systems...

another error he reported is this one - when trying to vote on a link:


WARGAMING.sk Error

Error Code: 0013


ERROR: Could not query the database.
Error:


Can anyone help me to solve this proble? please....



16
josez
Re: codepage
  • 2005/2/11 18:34

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


wow it works.. thanks, you guys are so quick with your replies. looks like XOOPS was right choice..



17
josez
codepage
  • 2005/2/11 18:02

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


where can i setup the codepage for xoops? (like windows-1250)



18
josez
Re: removing a pic from links module
  • 2005/2/11 11:30

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


thanks, worked perfectly



19
josez
removing a pic from links module
  • 2005/2/11 10:48

  • josez

  • Just popping in

  • Posts: 19

  • Since: 2005/2/11


hi, i'm new to XOOPS and need a little help customizing my page.
this is my question:
which file should i edit to remove the "web links" picture from the links module?

another question: are there any localisation packages for xoops? where could they be found?




TopTop
« 1 (2)



Login

Who's Online

260 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 260


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