Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: No name with comment  (Read 5934 times)

0 Members and 1 Guest are viewing this topic.

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
[Solved]: No name with comment
« on: July 23, 2008, 01:59:08 am »

Logged in members and guests can not upload comments to pictures in my CPG 1.4.18.  The error message asks them to provide their name with the comment - even when logged in.

My admin error notice claims a problem with db_input.php - Line: 122
which reads
Code: [Select]
if ($msg_author == '' || $msg_body == '') cpg_die(ERROR, $lang_db_input_php['empty_name_or_com'], __FILE__, __LINE__);
can anyone point me towards where to look to fix this?

I have Stramm's pack installed - working fine and he says his mod isn't creating the prob.
« Last Edit: July 23, 2008, 10:33:19 am by Nibbler »
Logged

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
db_input errors on line 39
« Reply #1 on: July 23, 2008, 08:39:57 am »

I am unable to post comments to pictures in my gallery.

In trying to fix this I've discovered the following "Notices" for the db_input.php page I'm using from the Stramm Mod Pack 1.4.18 Bridge:

Code: [Select]
/db_input.php

    * Warning line 39: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 5
    * Warning line 39: preg_replace() [function.preg-replace]: Compilation failed: missing ) at offset 5

Can someone direct me on how to fix this code?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No name with comment
« Reply #2 on: July 23, 2008, 09:01:04 am »

Merged your threads that both deal with your issues to post comments. You're a frequent poster, so you should already know what we'll be asking first: post a link to your gallery and (if needed) a non-admin test user account...
Don't spread your requests about one thing over many threads and sub-boards. Don't turn notices_display on if you have no idea what notices are meant to be used for.
« Last Edit: July 23, 2008, 07:09:38 pm by Joachim Müller »
Logged

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
Re: No name with comment
« Reply #3 on: July 23, 2008, 09:40:49 am »

Sorry for causing the effort on your part - nothing sinister on mine... just trying to fix the problem from all angles.

Turns out it was a badly placed (

Solved.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: No name with comment
« Reply #4 on: July 23, 2008, 07:11:21 pm »

Then why don't you share your insight with us for the benfit of others with similar issues? In other words: resolve your threads - that's the point of a support board. As I suggested above: by now you should know board rules...
Logged

Gephri

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 235
Re: [Solved]: No name with comment
« Reply #5 on: July 23, 2008, 07:19:27 pm »

Ok

After updating my english language $lang_bad_words list with words from phpBB and other sources, I found that "Fu(*" (without the quotes) creates a problem.  It needs to be "Fu\(*" (without the quotes) - see the escape backslash.

If anyone would like an updated $lang_bad_words list that works - here you go:

Code: [Select]
$lang_bad_words = array('asshole', 'assramer', 'bitch*', 'c0ck', 'cawk', 'clits', 'clitz', 'klitz', 'klits', 'Cock', 'cum', '*beep**', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', '**beep**', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*', '@$$', 'amcik', 'andskota', 'arschloch', 'arse*', 'ass', 'asses', 'asshol*', 'ass-hol*', 'assramer', 'ass-*', 'ayir', 'bastard', 'beasti*', 'bestial', 'bestiality', 'b!+ch', 'b!tch', 'b17ch', 'b1tch', 'bi+ch', 'bi7ch', 'bitch*', 'bitch', 'bitcher', 'bitchers', 'bitches', 'bitchin', 'bitching', 'blowjob', 'blowjobs', 'b00b*', 'boiolas', 'bollock', 'breast', 'breasts', 'buceta', 'butt*', 'cabron', 'cawk', 'cawx', 'cazzo', 'chink', 'chraa', 'chuj', 'cipa', 'clit', 'clits', 'clitz', 'Cock*', 'cock', 'c0ck', 'cocks', 'c0cks', 'cocksuck', 'cocksucked', 'cocksucker', 'cocksucking', 'cocksucks', 'cop', 'copulation', 'cum', 'cummer', 'cumming', 'cums', 'cumshot', 'cunilingus', 'cunillingus', 'cunnilingus', '*beep*', 'cuntlick*', '*beep**', 'cyberfuc*', 'cyber-fuc*', 'cyberfuck*', 'cyber-*beep**', 'dago', 'daygo', 'd4mn', 'damn', 'dego', 'dick', 'dicks', 'dickz', 'dick*', 'dike*', 'dirsa', 'dildo', 'dildos', 'dink', 'dinks', 'dupa', '*dyke', 'dziwka', 'ejackulate', 'ejacula*', 'Ekrem*', 'Ekto', 'enculer', 'faen', 'fag*', 'fanculo', 'fanny', 'fart*', 'fatass', 'fat-ass', 'feces', 'feg', 'felatio', 'Felcher', 'fellatio', 'ficken', 'fingerfuck*', 'finger-*beep**', 'fistfuck*', 'fist-*beep**', 'fitt*', 'Flikker', 'foreskin', 'fore-skin', 'Fotze', 'fcuk', '*beep*', '**beep**', '*beep**', 'fuc', 'fuk*', 'FU', 'futkretzn', 'fux0r', 'gangbang*', 'gay', 'gaysex', 'goddamn', 'gook', 'guiena', 'hardcoresex', 'hell', 'helvete', 'hoer*', 'honkey', 'h0r', 'hore', 'h4x0r', 'homo', 'homosexual', 'honkey', 'horniest', 'horny', 'hotsex', 'Huevon', 'hui', 'injun', 'jack-off', 'jerk-off', 'jism', 'jiz', 'jizz', 'jizm', 'kanker', 'kawk', 'kike', 'klootzak', 'kock', 'kondum', 'kondums', 'kraut', 'knulle', 'kuk', 'kuksugar', 'Kurac', 'kurwa', 'kusi*', 'kum', 'kummer', 'kumming', 'kums', 'kunilingus', 'kyrpa*', '13i+ch', 'l3i+ch', '13itch', 'l3itch', 'lesbo', 'lez', 'lesbian', 'lust', 'lusting', 'mamhoon', 'masterbat*', 'masturbat*', 'merd*', 'mibun', 'monkleigh', 'mothafuck*', 'motherfuck*', 'mofo', 'mouliewop', 'muie', 'mulkku', 'muschi', 'nazi', 'nazis', 'nepesaurio', 'nigga', 'nigger*', 'nutsack', 'orgasim', 'orgasims', 'orgasm', 'orgasms', 'orospu', 'paska*', 'pedophel*', 'pedophil*', 'penis', 'perse', 'phonesex', 'phuck', 'phuk', 'phuked', 'phuking', 'phukked', 'phukking', 'phuks', 'phuq', 'picka', 'pierdol*', 'pillu*', 'pimmel', 'pimpis', 'piss*', 'pizda', 'poontsee', 'poop', 'porn', 'p0rn', 'pr0n', 'porno', 'pornography', 'pornos', 'preteen', 'prick', 'pricks', 'pula', 'pule', 'pusse', 'pussies', 'pussy', 'pussys', 'puta', 'puto', 'qahbeh', 'queef*', 'rautenberg', 'schaffer', 'scheiss', 'schlampe', 'schmuck', 'scrotum', 'skrotum', 'screw', 'skrew', 'sharmuta', 'sharmute', 'shemale', 'shipal', 'shit', 'sh!t', 'sh!+', '*shit*', 'shited', 'shitfull', 'shiting', 'shits', 'shitted', 'shitter', 'shitters', 'shitting', 'shittings', 'shitty', 'shiz', 'skribz', 'skurwysyn', 'slut', 'sluts', 'smut', 'spic', 'spunk', 'sphencter', 'spierdalaj', 'splooge', 'suka', 'teets', 'teez', 'testicle*', 'tit', 'tits', 'titt*', 'titties', 'tity', 'tities', 'titty', 'twat', 'twaty', 'vittu', 'w00se', 'wank', 'wetback', 'wet-back', 'whoar', 'whore', 'wichser', 'wop*', 'yed', 'zabourah');
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.