xoops forums

Forum Index


Board index » All Posts (tzvook)




tzvook

Just can't stay away
Posted on: 5/14 13:49
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#1

Re: Help with Error redirections

So ?
Is there a solution to this auto redirect ?


tzvook

Just can't stay away
Posted on: 5/13 23:29
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#2

Re: Help with Error redirections

I don't think that something caused it ... it's probably a mistake or an old link, but the fact that XOOPS is not using some kind of ERROR page mechanism keep those links forever ... since it don't inform google that it's an Error ... and that makes all external links on your homepage "spam links" ...

All your competitors need to do is plant links like "https://xoops.org/?page=23" somewhere ... and they sabotage your site ... since now google see all homepage links on 2 pages ...


tzvook

Just can't stay away
Posted on: 5/13 15:32
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#3

Help with Error redirections

Hi
I need a little help with an issue I experienced lately ...
I'm using Xoops for years and never saw it before : from some reason google generates weird links to my site: https://www.mysite.com/?page_id=23 and https://www.mysite.com/?page=23 and so on ..

since Xoops always answer it with the front-page, google see all content in the front page as double content and all links as spam.

I tried redirecting with the ..htaccess without success
ErrorDocument 400 /404.php
ErrorDocument 401 
/404.php
ErrorDocument 403 
/404.php
ErrorDocument 404 
/404.php


My Configuration:
PHP: 7.2.24
XOOPS: 2.5.10


tzvook

Just can't stay away
Posted on: 3/21 21:00
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#4

Re: Time for an upgrade/update host no longer supporting older php

There's also something wrong with the link-ratings ... it always show "1" regardless of the real rate ..
couldn't find what causing it ..


tzvook

Just can't stay away
Posted on: 3/19 11:12
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#5

Re: Time for an upgrade/update host no longer supporting older php

Hi Mamba
2 more errors:

in Some of the links extended page (seems the ones that use maps of , but I'm not sure) there were 2 errors

ErrorCall to undefined function split() in file /modules/happy_linux/class/magpie/magpie_parse.php line 183


FIX: /modules/happy_linux/class/magpie/magpie_parse.php line 183
From:
[$ns$el] = split(':'$element2);

To:
[$ns$el] = explode(':'$element2);


That fixed my problems, but probably this error should also taken into account:

Class 'XoopsTree' is deprecatedcheck 'XoopsObjectTree' in tree.php trace: class/xoopstree.php:49
/modules/weblinks/class/weblinks_category_basic_handler.php:98
/modules/happy_linux/include/functions.php:89
/modules/weblinks/include/functions.php:22
/modules/weblinks/class/weblinks_link_count_handler.php:58
/modules/weblinks/class/weblinks_cat_view_handler.php:37
/modules/weblinks/class/weblinks_link_view_handler.php:112
/modules/happy_linux/include/functions.php:89
/modules/weblinks/include/functions.php:22
/modules/weblinks/class/weblinks_singlelink.php:85
/modules/weblinks/class/weblinks_singlelink.php:106
/modules/weblinks/singlelink.php:67


tzvook

Just can't stay away
Posted on: 3/18 16:45
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#6

Re: Time for an upgrade/update host no longer supporting older php

Quote:

Mamba wrote:
Quote:
14,000 link directory with 600 categories and 4000 feeds

Wow! Now I understand why you were so keen on fixing these modules!


I have 2 of those... and this is the smallest
It's working since ~ 2004


tzvook

Just can't stay away
Posted on: 3/18 16:17
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#7

Re: Time for an upgrade/update host no longer supporting older php

Seems that all bugs were crushed ... I'll continue checking in the next few days ..
I'm checking in a 14,000 link directory with 600 categories and 4000 feeds


tzvook

Just can't stay away
Posted on: 3/17 23:03
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#8

Re: Time for an upgrade/update host no longer supporting older php

11. Links Check when refreshed ( Admin side = /modules/weblinks/admin/link_check_manage.php ) result in Error :
Error : ArgumentCountError: Too few arguments to function admin_link_check_manage::_print_form(), 0 passed in .../modules/weblinks/admin/link_check_manage.php on line 241 and exactly 2 expected


tzvook

Just can't stay away
Posted on: 3/17 21:29
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#9

Re: Time for an upgrade/update host no longer supporting older php

10. New links waiting for approval ( Admin side = /weblinks/admin/modify_list.php?op=list_new ) result in Error :
Error : ArgumentCountError: Too few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/modify_list.php on line 274 and at least 1 expected


tzvook

Just can't stay away
Posted on: 3/17 19:04
tzvook
tzvook (Show more)
Just can't stay away
Posts: 875
Since: 2003/2/1 2
#10

Re: Time for an upgrade/update host no longer supporting older php

I'm testing the 4 modules and now it works much better: RSSC now works with WEBLINKS and new links can be added.

Since Xoops is not written for RTL languages ( Core and most if not all modules has LTR oriented aproach - all hardcoded ) and I'm testing everything on a live site, I need to hard code RTL after each of your update, so I send bugs-reports instead of forking on github .. sorry ..

Here are the first bugs I found:

1. To enable the RSSC 1.4 (latest from you) .. /weblinks/include/weblinks_version.php line 21 should be:
define('WEBLINKS_RSSC_VERSION''1.40');


2. Adding a new link + deleting an existing link ( Admin side = /weblinks/admin/link_manage.php ) sucseed, but in the end of the process ( /weblinks/admin/link_list.php?sortid=1 )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/link_list.php on line 398 and at least 1 expected


3. link list by categories ( Admin side = /weblinks/admin/catlink_list.php ) result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/catlink_list.php on line 131 and at least 1 expected


4. update reques ( Admin side = /weblinks/admin/modify_list.php?op=list_mod )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/modify_list.php on line 274 and at least 1 expected


5. Broken link list ( Admin side = modules/weblinks/admin/link_list.php?op=list_broken )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/link_list.php on line 398 and at least 1 expected


6. vote list ( Admin side = /weblinks/admin/votedata_list.php )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/votedata_list.php on line 28 and at least 1 expected


7. Link list ( Admin side = weblinks/admin/link_list.php )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/link_list.php on line 398 and at least 1 expected


8. User list ( Admin side = /weblinks/admin/user_list.php )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/user_list.php on line 410 and at least 1 expected


9. Category list ( Admin side = /modules/weblinks/admin/category_list.php )
result in Error :
Error ArgumentCountErrorToo few arguments to function happy_linux_page_frame::_show(), 0 passed in .../modules/weblinks/admin/category_list.php on line 364 and at least 1 expected


More to come ...



TopTop
(1) 2 3 4 ... 60 »