1
shperk
Cloning module Article 1.0
  • 2007/3/28 4:07

  • shperk

  • Just popping in

  • Posts: 10

  • Since: 2002/12/16


I need to clone module Article. This is beautiful module & I want to do some copies on my site/
In the Article FAQ has instructions for cloning
But when I try to change files, I have installations errors.
Anyone done this change? May this module cloning?
May be, anybody has cloning files of this module?

And one another question.
In module Smartsection has php script for cloning: clone.php . It is wonderful solve of cloning problem: no error, no problem.
May be possible create something similar?

2
Bassman
Re: Cloning module Article 1.0
  • 2007/3/28 4:33

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Not sure about cloning, but you may want to upgrade to Article 1.03: see the news item on the front page.

3
phppp
Re: Cloning module Article 1.0
  • 2007/3/28 5:19

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


two different modules, one is "article" the other is "articles"

check the readme file packaged inside module

4
shperk
Re: Cloning module Article 1.0
  • 2007/3/28 5:46

  • shperk

  • Just popping in

  • Posts: 10

  • Since: 2002/12/16


Sorry. On Front Page info about module Articles.
But I ask about module Article. It is another item.

5
shperk
Re: Cloning module Article 1.0
  • 2007/3/28 6:07

  • shperk

  • Just popping in

  • Posts: 10

  • Since: 2002/12/16


Quote:

phppp wrote:
check the readme file packaged inside module

I read
But on installation I get message:
Installing Article

  
-- -- -- -- -- -- -- CREATE TABLE `artworks_artcat` ( `ac_idint(11unsigned NOT NULL auto_increment, `art_idint(11unsigned NOT NULL default '0', `cat_idmediumint(4unsigned NOT NULL default '0', `uidmediumint(8unsigned NOT NULL default '0', `ac_registerint(10unsigned NOT NULL default '0', `ac_publishint(10unsigned NOT NULL default '0', `ac_featureint(10unsigned NOT NULL default '0'PRIMARY KEY (`ac_id`), KEY `cat_id` (`cat_id`), KEY `art_id` (`art_id`) ) TYPE=MyISAM is not a valid SQL!

I wrote $GLOBALS["ART_DB_PREFIX"] = "artworks" in the vars.php and change create table string in mysql.sql, change all file names in folder template.


What I do not right?

6
Bassman
Re: Cloning module Article 1.0
  • 2007/3/28 10:15

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Quote:

phppp wrote:
two different modules, one is "article" the other is "articles"

check the readme file packaged inside module


Oops, my mistake :)

7
shperk
Re: Cloning module Article 1.0
  • 2007/3/29 2:57

  • shperk

  • Just popping in

  • Posts: 10

  • Since: 2002/12/16


2 phppp:
Do not have answer?
May be, you have clone package for example?
I need...

8
irmtfan
Re: Cloning module Article 1.0
  • 2007/3/29 6:03

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i clone it successfully so you have a mistake somewhere.
try again and double check all instructions also mentined that "DB perfix" and "DIR name" are different.

9
shperk
Re: Cloning module Article 1.0
  • 2007/4/4 19:16

  • shperk

  • Just popping in

  • Posts: 10

  • Since: 2002/12/16


Quote:

irmtfan wrote:
i clone it successfully

Errors in installation module with new DB prefix. If I install clone module with different name, but DB prefix not change ("art") installing process is OK.
When I change DB prefix, I getting up error message.

Warningarray_keys(): The first argument should be an array in file /modules/myart/include/functions.render.php line 57
Warning
Invalid argument supplied for foreach() in file /modules/myart/include/functions.render.php line 57

And error in SQL string in file mysql.sql

10
LiliVG
Re: Cloning module Article 1.0
  • 2007/4/7 21:13

  • LiliVG

  • Just popping in

  • Posts: 65

  • Since: 2005/12/25


shperk: The cloning faq you linked to was published 11/05 - almost a year and a half ago. The Article 1.0 module has a "readme.clone.txt" file included. You'll notice those instructions are slightly different than the instruction in the older FAQ you linked to. :)

Login

Username:
Password:

Lost Password? Register now!

Who's Online

41 user(s) are online (25 user(s) are browsing Support Forums)


Members: 0


Guests: 41


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits