Community Support for OpenDocMan (Deprecated)
newbie question - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: newbie question (/thread-296.html)

Pages: 1 2 3


Re: newbie question - bit2bit - 07-29-2010

hm. looks to me still like some sort of a server-path-syntax-issue.
here are some attempts I'd try as next:

* /var/www/opendocman/data/ - is the /data/ writeable by the server/serveruser?
* does it help to create the /archiveDir/ in the /var/www/opendocman/data/ manually and make it writeable by the server?
* try to add the 'trailling slash' to the /var/www/opendocman/data/ in your configuration (generally, it should not be the problem with apache2, but who knows...)

* after trying some/all of this advices, try to restart the apache (/etc/init.d/apache2 restart),
to get the configs loaded the right way... let me know, if you could achieve anything by trying this.


Re: newbie question - edwsin - 08-01-2010

finally i was able to see the files that are stored in opendocman, all i need was to add "/" in the back of the dataDir in config.php Idea Smile
My question now:
1. How to display the full username when success login..?
2. How to modify the category lists into my own category...?
this is the default category lists :


Re: newbie question - edwsin - 08-02-2010

anyone can help me out..?
need it badly please Tongue Sad


Re: newbie question - bit2bit - 08-03-2010

1) I'd try it this way:

1a) edit index.php
1b) add a query to retrieve the username from DB (this is just pseudocode, do not copy/paste, it won't work):
1c) add a html-element to display

Code:
// retrieve the username from the DB
$query = "SELECT username FROM {$GLOBALS['CONFIG']['db_prefix']}user WHERE username = '$frmuser' AND password = password('$frmpass')";
return: $user;

// add thml element to display the message + username
echo "<font color=green>Welcome: $user!</font>";

2) Visit: <!-- m --><a class="postlink" href="http://your-host/opendocman/admin.php">http://your-host/opendocman/admin.php</a><!-- m -->

2a) Select one of the Options: Add / Delete / Update / Display
2b) Add new category: Admin -> Categories / Add
2c) Delete any categories: Admin -> Categories / Delete ...


Re: newbie question - vin_vin - 08-06-2010

Hi,

I'm using my plesk control. And they have this "application function"
So, I added the zip folder with that function, and it prompt me this error:
>>>

Error: sappmng: ERROR: unable to extract file APP-META.xml into temporary dir: Archive: /tmp/phpzbyqYa


System error 2: No such file or directory
Metadata file APP-META.xml is broken.
sappmng: test_package: failed to test RPM package /tmp/phpzbyqYa

System error 2: No such file or directory
1

>>>>

Kindly advice, what's that mean?

Do I need to create the folder manually with FTP function?

Regards,
V


Re: newbie question - bit2bit - 08-06-2010

Hi Vin!

Hm. No idea what you're talking about. Is it a question on the topic discussed in this thread, or is it just some question posted on a random thread? Said the other way:

* include ($much[more_information]);
* define ($folders&$functions&$everything);
* provide ($the_topic_of[$your_question]);

echo: 'Thx! BR.'


Re: newbie question - edwsin - 08-08-2010

bit2bit Wrote:1) I'd try it this way:

1a) edit index.php
1b) add a query to retrieve the username from DB (this is just pseudocode, do not copy/paste, it won't work):
1c) add a html-element to display

Code:
// retrieve the username from the DB
$query = "SELECT username FROM {$GLOBALS['CONFIG']['db_prefix']}user WHERE username = '$frmuser' AND password = password('$frmpass')";
return: $user;

// add thml element to display the message + username
echo "<font color=green>Welcome: $user!</font>";

2) Visit: <!-- m --><a class="postlink" href="http://your-host/opendocman/admin.php">http://your-host/opendocman/admin.php</a><!-- m -->

2a) Select one of the Options: Add / Delete / Update / Display
2b) Add new category: Admin -> Categories / Add
2c) Delete any categories: Admin -> Categories / Delete ...
hi..
thanks again for the reply.
For number 2 i can successuflly create another category.

But for no.1, u are right it wont work if i just copy and paste Sad Tongue
But can i just put it in any line in index.php..?
and the code i tried to modified, but seems its not working Sad(


Re: newbie question - Stephen - 09-14-2010

Looks like your dataDir settings is missing the ending "/"


Re: newbie question - kellyj994 - 10-26-2010

edwsin Wrote:Dear all,
Recently i just downloaded the opendocman, i'm planning to install on linux server.
i did :
1. Download opendocman
2. Copy to a folder in linux server
3. Extract file
4. copy to my web server document root directory which is : /var/www/html/opendocman/
5. But when i access by using ie, i got a message :
Forbidden

You don't have permission to access /opendocman on this server.

what did i do wrong..?
anyone could help me out on this..?
Thank You,
Edward


Thanks you for the post.


Re: newbie question - Stephen - 10-27-2010

You have some apache configuration that is not working. Check to make sure the folder has the proper permissions and ownership. And make sure your documentroot in apache is /var/www/html