1. I'm breaking the news page ... strange errors.

I tried to cut and paste from the RDS website.

Internal Error 
 
/home/euweb/prod/euweb/source/comment_db.e:38 
<0145>:: tab character found in string - use \t instead 
	"	WHERE "&isdel()&" and u.id = c.user_id AND c.module_id=%d AND item_id=%d ORDER BY id", { module_id, id }) 
	 ^ 

I also had a panic when I could't remove a fouled news item


Is there some kind of time delay in effect?

I just checked the front page and it looks ok.

_tom

new topic     » topic index » view message » categorize

2. Re: I'm breaking the news page ... strange errors.

_tom said...

I tried to cut and paste from the RDS website.

Internal Error 
 
/home/euweb/prod/euweb/source/comment_db.e:38 
<0145>:: tab character found in string - use \t instead 
	"	WHERE "&isdel()&" and u.id = c.user_id AND c.module_id=%d AND item_id=%d ORDER BY id", { module_id, id }) 
	 ^ 

That error is left over from something I broke back in March. It has nothing to do with the issue you are having.

I don't know what the issue could be.

I recommend testing with http://interpretedtest.openeuphoria.org - you should be able to get the real error message from that.

_tom said...

I also had a panic when I could't remove a fouled news item

Is there some kind of time delay in effect?

I just checked the front page and it looks ok.

_tom

No, that was me. There's no way to remove or edit a news item from the web interface. One needs to log into the server and then into the database and type mysql statements to fix things up.

Fixing the web interface is on the TODO list.

new topic     » goto parent     » topic index » view message » categorize

3. Re: I'm breaking the news page ... strange errors.

I can't log into the "testing" website.

_tom

new topic     » goto parent     » topic index » view message » categorize

4. Re: I'm breaking the news page ... strange errors.

_tom said...

I can't log into the "testing" website.

_tom

What is the issue?

You should be able to log in using user:devel and password:devel at the prompt, and then log into the forums using your normal website credentials.

new topic     » goto parent     » topic index » view message » categorize

5. Re: I'm breaking the news page ... strange errors.

Jim, if we're going to have an active news page now, it should probably show at least 5 recent items... or show all news items within that last two weeks, then summaries thereafter. Just my $0.02.

new topic     » goto parent     » topic index » view message » categorize

6. Re: I'm breaking the news page ... strange errors.

jimcbrown said...
_tom said...

I can't log into the "testing" website.

_tom

What is the issue?

You should be able to log in using user:devel and password:devel at the prompt, and then log into the forums using your normal website credentials.

Got onto the testing website ok.

When I sign in ( using name and pswd ) I get the messsage

User Login 
1 Validation Errors 
 
    form: Invalid user code 

But, inspite of this message it looks like I am signed in.

Now, this sign-in is not as "admin" so I can't test the news page.

_tom

new topic     » goto parent     » topic index » view message » categorize

7. Re: I'm breaking the news page ... strange errors.

Also, I've bumped you up to the developer and admin roles over there so you can actually start posting news there. I'm not sure why you only had normal user access on the test forum....

new topic     » goto parent     » topic index » view message » categorize

8. Re: I'm breaking the news page ... strange errors.

_tom said...

Got onto the testing website ok.

When I sign in ( using name and pswd ) I get the messsage

User Login 
1 Validation Errors 
 
    form: Invalid user code 

But, inspite of this message it looks like I am signed in.

I got the same thing. I'm not sure what this is about. Another for the TODO list, I guess....

_tom said...

Now, this sign-in is not as "admin" so I can't test the news page.

_tom

Looks like we crossed posts. This has been fixed.

new topic     » goto parent     » topic index » view message » categorize

9. Re: I'm breaking the news page ... strange errors.

jimcbrown said...

Also, I've bumped you up to the developer and admin roles over there so you can actually start posting news there. I'm not sure why you only had normal user access on the test forum....

The test forum is now working for me.

  • Cut from RDS website and paste into oE news works.
  • Editing works.
  • Remove gives error: "Invalid module/action pair 'news/remove'

thanks for the progress

_tom

new topic     » goto parent     » topic index » view message » categorize

10. Re: I'm breaking the news page ... strange errors.

_tom said...
jimcbrown said...

Also, I've bumped you up to the developer and admin roles over there so you can actually start posting news there. I'm not sure why you only had normal user access on the test forum....

The test forum is now working for me.

  • Cut from RDS website and paste into oE news works.
  • Editing works.
  • Remove gives error: "Invalid module/action pair 'news/remove'

thanks for the progress

_tom

Can you log into test.openeuphoria.org and try the same? I'm wondering why cut&paste and editing works on the test forum but not the production forum...

new topic     » goto parent     » topic index » view message » categorize

11. Re: I'm breaking the news page ... strange errors.

jimcbrown said...

Can you log into test.openeuphoria.org and try the same? I'm wondering why cut&paste and editing works on the test forum but not the production forum...

  • OK:login to test.openeuphoria.org
  • OK: sign in as _tom
  • OK: paste from RDS
  • FAIL: save button first time

Internal Error 
 
/home/euweb/test/euweb/source/rss.e:113 
<0132>:: Syntax error - expected to see possibly ')', not 'return' 
	return is_del 
	      ^ 
 
 
--- Defined Words --- 
EU4 
EU4_0 
EU4_0_5 
TEST 
CONSOLE 
EUC 
CONSOLE 
UNIX 
LINUX 
------------------- 

  • return back to editing
  • OK: save
  • OK: edit previous save
  • FAIL: remove
  • return to home page, now see two news items

_tom

new topic     » goto parent     » topic index » view message » categorize

12. Re: I'm breaking the news page ... strange errors.

jim, a few months ago I tried to make the site run on my machine to make some modifications to the ticket system (iirc it was the euweb repo).
However, I found out that I could not get a working database, I think I got to the point of seeing something in the site but got tired.
I'm willing to help you fixing any errors but I'd like some hint on how to get a local copy running.

Cheers, Guillermo

new topic     » goto parent     » topic index » view message » categorize

13. Re: I'm breaking the news page ... strange errors.

gbonvehi said...

jim, a few months ago I tried to make the site run on my machine to make some modifications to the ticket system (iirc it was the euweb repo).
However, I found out that I could not get a working database, I think I got to the point of seeing something in the site but got tired.
I'm willing to help you fixing any errors but I'd like some hint on how to get a local copy running.

Cheers, Guillermo

I just saw this. Do you still need help with this?

There are a set of sql scripts in the euweb repo that you need to run in order to gerneate the database. (There's a create script and a lot of small update scripts to add new tables, columns, etc.) It might also be necessary to set up some initial dummy data, not sure if any of the scripts do that.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu