PDA

View Full Version : Links Module installation problems


Fitzy
23-02-05, 11:26 PM
I've struggled to install the links module. After trying the 1.0a version and then replacing individual files from the CVS, I end up with either:

a) An installation that works but doesn't display names -- obviously no good.

b) An installation that doesn't work and instead gives the following error:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'project_id = link_project ORDER BY project_name' at line 10

I'd appreciate any help offered. Thanks in advance.

pedroa
24-02-05, 01:25 AM
I tested this against my latest checked cvs and nothing's wrong. It only works tabbed (for me this is no big deal), and the picture reference has to be hand corrected.
That means that you are trying to put Links for ver 2 of dotproject working with ver 1 of dotproject and this is a no can do thing.

Either version works correctly for me.

caseydk
24-02-05, 07:29 AM
If I remember correctly (it's been a while), the Links module for 1.0 required the tables to be created manually.

I did this for someone a month or so ago, but anything more specific escapes me at the moment.

Fitzy
24-02-05, 11:48 AM
I'm using dotproject 1.0.2. Can anyone give me a brief idiot's guide for installing the links module from scratch? (And to the point where I can enter names -- I believe this was a bug in that particular build)

pedroa
24-02-05, 12:56 PM
Ok then,

1) go to dotmods here http://sf.net/projects/dotmods
2) follow the Links download in that page
3) be sure to get the file links_2004-08-12.tar.gz
4) now decompress that file into a Links folder on the modules folder of dotproject root.
5) goto the System Admin of dotproject, modules Managnment, click install of the Links module, then activate it and unhide it.
6) Links should appear now on top of the site, so click it.
7) Create the links and click them to see them work.

I hope it is idiot enough for you.

Pedro A.

cyberhorse
24-02-05, 03:49 PM
This sounds like the way it should be done, but actually I have my doubts this will work ... :)
I would actually suggest substituting the first four steps with getting the source from sourceforge's cvs if you are using dp cvs ... something along the lines of

make sure you have 'cvs' command on your machine
go the the modules directory of where you installed dotproject
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dotmods login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dotmods co -P links

If you are not using dp cvs, than maybe it won't work - don't remember. Give the steps in the previous post a go.

pedroa
24-02-05, 09:11 PM
Sorry cyberhorse but your last post was not idiot enough, let's keep the Fitzy level please.

Now if you noticed:
I'm using dotproject 1.0.2.

So i am not going to mess his head with CVS stuff, i am forcing myself into being idiot too (it's kinda hard you know).

Pedro A.

cyberhorse
24-02-05, 09:28 PM
I know :) sorry for breaking the zen magic of it all :)
Still, have you tried the links module in 1.0.2? I started development on it after that release on then current cvs, and never tested back to see if it works actually on 1.0.2 or not. Its first official release was always meant to be 2.0 :)

pedroa
25-02-05, 01:38 AM
Ok,

Fitzy and Cyberhorse you are right.

Links does not work well with 1.0.2, it kinda lacks the links name field (it does not ask for it on add, so it does not show either. Hey! that makes sense :idea: ).

So I kinda updated it.

Here is were you can get the juice to make it work Fitzy:
http://sourceforge.net/tracker/index.php?func=detail&aid=1151110&group_id=70930&atid=529515

Pedro A.

Fitzy
20-03-05, 08:08 AM
That did it. Many thanks Pedro.

gwp-1
13-08-05, 01:35 AM
My installation of Links-2.0a won't. Gives me error: "Module setup file could not be found" but when I look in the folder there's "setup.php" just where it ought to be.

pedroa
13-08-05, 01:51 AM
Are you talking about Links for dP1 or dP2?
What is the name of the folder you have put Links?

Pedro A.

gwp-1
13-08-05, 03:10 AM
dP2

I dropped the links-2.0a folder into my MODULES folder.

pedroa
13-08-05, 03:33 AM
try renaming it to just 'links'

Pedro A.

gwp-1
13-08-05, 03:36 AM
BINGO. Victory is mine. . . Welll.... OURS. Thanks Pedro!