• [MOD] PMv2 Tutorial Republished here 5 0 5 1
Currently:  

Author Topic: [MOD] PMv2 Tutorial Republished here  (Read 778242 times)

0 Members and 3 Guests are viewing this topic.

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #420 on: August 06, 2007, 12:22:12 PM »
i think the installer in PM V2 in just for those who have installed the old PMS verion! its mean that we have to the old installer then upgrade it with new PM V2 installer isn't it?
(^_^)

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #421 on: August 06, 2007, 02:39:23 PM »
Correct. 1st time, PM V2 publish for upgrade. No core install but SQL error nothing do with upgrade.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #422 on: August 06, 2007, 04:46:27 PM »
so who have the old pms installer ?? can attach here please  :|

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #423 on: August 06, 2007, 05:49:33 PM »
@Stoleti:

Reason error:

Quote
"CREATE TABLE `".4images_pm."`

No do. It:

Quote
"CREATE TABLE " . PMS_TABLE . "

Must add in constant.php file:

Quote
define('PMS_TABLE', $table_prefix . "pms");

This all.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #424 on: August 06, 2007, 07:04:22 PM »
yes i got that, but i still looking for the old pms installer  :roll: please !!

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #425 on: August 06, 2007, 09:46:51 PM »
k sajalelenyu ya do six por PMS ne nashel kto-to smojit nam naidet pojalyusta!
(^_^)

Offline nfprehn

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • How to become a model
Re: [MOD] PMv2 Tutorial Republished here
« Reply #426 on: August 09, 2007, 07:14:59 PM »
Hi all,

Struggling a little with the install.

I get this error

Quote
DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_SENT OR pm_type = PM_SDLT OR pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Table 'wa4398_db1.PM_TABLE' doesn't exist

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_from = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT)
Table 'wa4398_db1.PM_TABLE' doesn't exist

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS total FROM PM_TABLE WHERE pm_from = 1 AND (pm_type = PM_SENT OR pm_type = PM_RDLT)
Table 'wa4398_db1.PM_TABLE' doesn't exist

DB Error: Bad SQL Query: SELECT COUNT(pm_id) AS new FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Table 'wa4398_db1.PM_TABLE' doesn't exist

DB Error: Bad SQL Query: SELECT pm_date FROM PM_TABLE WHERE pm_to = 1 AND (pm_type = PM_UNREAD OR pm_type = PM_USDLT) ORDER BY pm_date DESC
Table 'wa4398_db1.PM_TABLE' doesn't exist

My database looks like this:



I have read through all the pages on this post and it seems other people had similar issues.  Do you know the solution??


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #427 on: August 09, 2007, 08:07:57 PM »
No do constants.php file. Add PM_TABLE in file.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #428 on: August 09, 2007, 09:43:13 PM »
same problem above with me ! :S

agree might be in the lang main !!

ganna check it :P
English Please :@

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #429 on: August 09, 2007, 09:48:10 PM »
how ?? i mean what do u mean by adding pm_table in the constains !!?


i saw a code u have added in privous post !! do u mean to add that code ! there !! check my error plz !

Code: [Select]
Warning: Invalid argument supplied for foreach() in /home/alwasmy/public_html/pic/pm.php on line 414

Template Error: Couldn't open Template ./templates/infoqatar/BBCODE.html

and this is the foreach code :

Code: [Select]
foreach ($lang['bbc_help'] as $key => $val) {
      $bbc_help .= $key."_help = \"".$val."\";\n";
    }
English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #430 on: August 09, 2007, 09:56:39 PM »
Quote
same problem above with me ! :S

Add constant name is constants.php file.

Quote
Template Error: Couldn't open Template ./templates/infoqatar/BBCODE.html

Upload BBCODE.html (case sensitive) in templates/infoqatar folder.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #431 on: August 09, 2007, 10:04:54 PM »
thaaaaaaaaaaaaaaaaaaaanks ^_^

just solved the first one ! :)

still im getting this !

Code: [Select]
Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/pic/pm.php on line 414
any idea !!

well, with localhost working fine !

just tried to check if missed somethin' but seems everything ok !

and thanks again 4 helping me all the time
English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #432 on: August 09, 2007, 10:06:10 PM »
Post from 410 to 420 from pm.php file.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #433 on: August 09, 2007, 10:08:53 PM »
Sorry my bad :(

Code: [Select]
$txt_clickstream = ($edit) ? $lang['pm_edit'] : $lang['pm_compose'];
  $title .= ($edit) ? $lang['pm_edit'] : $lang['pm_compose'];
  $bbcode_form = "";
  if ($config['pm_bbcode']) {
    $bbc_help = "";
    foreach ($lang['bbc_help'] as $key => $val) {
      $bbc_help .= $key."_help = \"".$val."\";\n";
    }
    $site_template->register_vars(array(
      "lang_bbcode" => $lang['bbcode'],
      "lang_tag_prompt" => $lang['tag_prompt'],
      "lang_link_text_prompt" => $lang['link_text_prompt'],
      "lang_link_url_prompt" => $lang['link_url_prompt'],
      "lang_link_email_prompt" => $lang['link_email_prompt'],
      "lang_list_type_prompt" => $lang['list_type_prompt'],
      "lang_list_item_prompt" => $lang['list_item_prompt'],
      "lang_close_tags" => $lang['close_tags'],
      "lang_all" => $lang['all'],
      "smiles_text" => get_smiles_text(),
      "bbc_help" => $bbc_help
    ));
    $bbcode_form = $site_template->parse_template(BBCODE);
  }

from 409 to 431

English Please :@

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] PMv2 Tutorial Republished here
« Reply #434 on: August 09, 2007, 10:10:34 PM »
Quote
$lang['bbc_help']

This no go ... from lang/your_language/main.php - what say (full line) ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?