Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Kian
1
The Pub / Re: Wedge&PHP 7
« on July 27th, 2023, 09:54 AM »
Quote from Kian on November 15th, 2018, 05:58 PM
I have to migrate so I'm trying PHP 7.2 now...

I have an issue.

When I post a message, it works but then I get a white page... don't know why.
I finally tried again and found the culprit.

3 entries in the wedge_settings table :
Code: [Select]
search_index custom
search_custom_index_config a:1:{s:14:"bytes_per_word";i:5;}

I managed to find them by first isolating the problematic table then removing entries per lots until the issue was solved.

As the boss, Nao, has, understandibly and happily much better things to do (I hope my friend :) ), I'm thinking about migrating to another forum solution but did not find any working export tool.
2
The Pub / Re: Wedge&PHP 7
« on July 27th, 2023, 09:51 AM »
Quote from mark435 on March 10th, 2022, 04:56 PM
How about PHP 8.1?
Not compatible as Wedge uses a function depreciated in PHP 7 and which now does not exist anymore.
3
The Pub / Re: Wedge&PHP 7
« on October 7th, 2021, 07:32 PM »
Quote from Nao on January 29th, 2019, 12:12 PM
Désolé Kianouch, je ne sais pas à quoi correspond ton problème... Je pourrais débugguer sur ton serveur mais je ne passe pas tous les jours ici... Genre tu pourrais m'écrire, aussi. :P
Ben pas de soucis, c'est gentil :)

3 ans après, je me suis repenché sur la question car je souhaite vraiment me débarrasser de cette bécane chez OVH.

J'ai fait cette fois un import table par table et ai pu isoler celle qui pose problème : la table wedge_settings

J'ai beaucoup "joué" avec sans trouver le paramètre qui fait ça, du coup j'ai testé tout simplement en important un dump de tout sauf cette table et tout va bien, je vais donc pouvoir migrer :cool:

Bon me reste un dernier soucis moins gênant mais non lié à PHP 7 : j'ai la plupart des plugins qui ne s'activent pas, quand je clique sur le bouton il ne se passe rien, et ce sur mon vieux serveur PHP 5 comme le nouveau. J'ai du faire une connerie un jour  :^^;:

4
The Pub / Re: Wedge&PHP 7
« on November 28th, 2018, 05:00 PM »
Well, well.

Just downgraded to PHP 5.6, it works...
5
The Pub / Re: Wedge&PHP 7
« on November 27th, 2018, 05:51 PM »
Guess I'll have to migrate table after table...
6
The Pub / Re: Wedge&PHP 7
« on November 26th, 2018, 01:56 PM »
Quote from Kian on November 23rd, 2018, 05:29 PM
OK.

With a fresh install I have no issue.

I'll try a more proper migration :whistle:
But then, when I setup the new installation with my produciton database, same issue.

I guess it's located in my DB...
7
The Pub / Re: Wedge&PHP 7
« on November 23rd, 2018, 05:29 PM »
OK.

With a fresh install I have no issue.

I'll try a more proper migration :whistle:
8
The Pub / Re: Wedge&PHP 7
« on November 19th, 2018, 12:08 PM »
Is there an exhaustive list of the (for example) Debian packages required for Wedge ?
Can't find any, I guess I might be missing smething for my install.
9
The Pub / Re: Wedge&PHP 7
« on November 16th, 2018, 06:32 PM »
Not sure it is a PHP 7.2 issue though.
10
The Pub / Re: Wedge&PHP 7
« on November 15th, 2018, 05:58 PM »
I have to migrate so I'm trying PHP 7.2 now...

I have an issue.

When I post a message, it works but then I get a white page... don't know why.
11
Support / Re: error 500 after server change
« on July 27th, 2018, 10:05 AM »
Nevermind, I repaired my old server :-)
12
Support / Re: error 500 after server change
« on July 24th, 2018, 02:52 PM »
Quote from Nao on March 21st, 2014, 03:04 PM
It only shows up if you MOVE the data from a server to another, not if you create the data on the final server..?

Then it's a permission issue, isn't it...??!
Yes, I actually just migrated from my last work to a VPS at OVH restoring my last backup.

Whenever I post a message, I get this server error (Apache code 500), though the messages is correctly posted.

Still trying to figure this out.
I may be missing mods or having permission issues.


Code: [Select]
192.168.168.10 - - [24/Jul/2018:14:53:45 +0200] "POST /?board=22;action=post2 HTTP/1.1" 500 434 "http://test.potesnroll.com/?topic=1090.msg207397" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"



I could be missing a module :

Code: [Select]
root@vps569571:/etc/apache2/mods-available# ls
access_compat.load  authnz_fcgi.load      cern_meta.load     dump_io.load       lbmethod_bybusyness.load  mpm_prefork.conf     proxy_ftp.conf       rewrite.load           status.conf
actions.conf        authnz_ldap.load      cgid.conf          echo.load          lbmethod_byrequests.load  mpm_prefork.load     proxy_ftp.load       sed.load               status.load
actions.load        authz_core.load       cgid.load          env.load           lbmethod_bytraffic.load   mpm_worker.conf      proxy_hcheck.load    session_cookie.load    substitute.load
alias.conf          authz_dbd.load        cgi.load           expires.load       lbmethod_heartbeat.load   mpm_worker.load      proxy_html.conf      session_crypto.load    suexec.load
alias.load          authz_dbm.load        charset_lite.load  ext_filter.load    ldap.conf                 negotiation.conf     proxy_html.load      session_dbd.load       unique_id.load
allowmethods.load   authz_groupfile.load  data.load          file_cache.load    ldap.load                 negotiation.load     proxy_http2.load     session.load           userdir.conf
asis.load           authz_host.load       dav_fs.conf        filter.load        log_debug.load            php7.0.conf          proxy_http.load      setenvif.conf          userdir.load
auth_basic.load     authz_owner.load      dav_fs.load        headers.load       log_forensic.load         php7.0.load          proxy.load           setenvif.load          usertrack.load
auth_digest.load    authz_user.load       dav.load           heartbeat.load     lua.load                  proxy_ajp.load       proxy_scgi.load      slotmem_plain.load     vhost_alias.load
auth_form.load      autoindex.conf        dav_lock.load      heartmonitor.load  macro.load                proxy_balancer.conf  proxy_wstunnel.load  slotmem_shm.load       xml2enc.load
authn_anon.load     autoindex.load        dbd.load           http2.load         mime.conf                 proxy_balancer.load  ratelimit.load       socache_dbm.load
authn_core.load     buffer.load           deflate.conf       ident.load         mime.load                 proxy.conf           reflector.load       socache_memcache.load
authn_dbd.load      cache_disk.conf       deflate.load       imagemap.load      mime_magic.conf           proxy_connect.load   remoteip.load        socache_shmcb.load
authn_dbm.load      cache_disk.load       dialup.load        include.load       mime_magic.load           proxy_express.load   reqtimeout.conf      speling.load
authn_file.load     cache.load            dir.conf           info.conf          mpm_event.conf            proxy_fcgi.load      reqtimeout.load      ssl.conf
authn_socache.load  cache_socache.load    dir.load           info.load          mpm_event.load            proxy_fdpass.load    request.load         ssl.load
root@vps569571:/etc/apache2/mods-available# ls ../mods-enabled/
access_compat.load  auth_basic.load  authz_core.load  autoindex.conf  deflate.load  env.load     mime.load         negotiation.conf  php7.0.load      setenvif.conf  status.load
alias.conf          authn_core.load  authz_host.load  autoindex.load  dir.conf      filter.load  mpm_prefork.conf  negotiation.load  reqtimeout.conf  setenvif.load
alias.load          authn_file.load  authz_user.load  deflate.conf    dir.load      mime.conf    mpm_prefork.load  php7.0.conf       reqtimeout.load  status.conf
root@vps569571:/etc/apache2/mods-available#
13
The Pub / Re: PHP 5.4?
« on May 29th, 2017, 10:56 PM »
Quote from Nao on April 3rd, 2017, 10:51 PM
Tiens, je me souvenais même pas que PNR était passé sous Wedge... :^^;:
Faudra faire quelque chose pour la bannière invisible, par contre... Ça fait tache ! :(
Tu postais pour quoi ? Un problème avec ta version de PHP..?
Je ne sais plus :^^;:  peut-être un problème de PHP corrigé en éditant 2 lignes, ou alors causé finalement par un plugin je ne sais plus exactement.

Je me souviens juste d'avoir commenté les lignes qui renvoyaient des erreurs. Je suis en tous cas en PHP 5.6.30

Concernant la bannière oui, en effet... elle fonctionne si tu désactive AdBlock, je n'ai pas cherché plus loin.

Edit : bannière déplacer à la racine et renommée, elle apparaît :p (oui ce sont 2 bannières côtes à côté, je n'ai pas fait beaucoup d'efforts)
14
Plugins / [Plugin] Re: CountLikes
« on April 4th, 2017, 08:57 PM »
Quote from CerealGuy on April 4th, 2017, 03:55 PM
@Kian
do you get the error because of the CountLikes Plugin?
Actually, no, I dont have it, wrong topic :oops:
15
Plugins / [Plugin] Re: CountLikes
« on April 3rd, 2017, 09:22 PM »
Quote from Nao on March 20th, 2015, 11:26 PM
On line 90, $context['is_topics'] is undefined... It's copy-pasted from Profile-View.php, where it's defined earlier...
I just removed that code block, working fine now.
I just resurrected my forum by commenting lines 90 & 91 :^^;:

Code: [Select]
PHP Fatal error:  Class 'Likes_Notifier' not found in /opt/sites/www.potesnroll.com/www/gz/app/Notifications.php on line 90


Code: [Select]
              # self::$notifiers['likes'] = new Likes_Notifier();
               # self::$notifiers['likes_thought'] = new Likes_Thought_Notifier();

(90 + 91)


Using an up to date Debian with Apache 2.4 and PHP 5.6