![]() |
Quote:
Can you elaborate how the problem shows itself? Do you see no watermark, do the attachment images appear or not? Does the admincp settings page show any warnings or errors? Do you see the sample image with watermark on it? It should appear in the admincp plugin's settings at the bottom of the page. Quote:
Quote:
I'll make it more verbose in regards of errors in the next version. Please check manually if the table exists in your database. I assume that your mysql user hasn't enough permissions to create a table. So you have to create the table manually. To do so, go to your mysql administrative system (like phpmyadmin) and run these sqls, but only run them if and ONLY if the table doesn't exist yet: Code:
CREATE TABLE `{TABLE_PREFIX}plwmsettings` ( Code:
ALTER TABLE `{TABLE_PREFIX}plwmsettings` ADD PRIMARY KEY ( `varname` ) Code:
INSERT INTO `{TABLE_PREFIX}plwmsettings` ( |
Quote:
I did uninstall and re-install, but still have the same problem. I don't know why I wouldn't have permissions to add a table, as I've added dozens of mods that have tables to the sql databse and never had a problem. :confused: Regards, Doug |
Do you have access to a database administration tool by your hoster for example?
If not, I'd suggest to ask them for assistance. It's important to find out why the script doesn't find the table. If it doesn't exist, it's easy to create it with these mentioned sql queries. |
1 Attachment(s)
Quote:
Regards, Doug Edit: I viewed the devforum database in phpmyadmin and I see this list in the attached pic. I don't see any table starting with "plw", so can I assume it doesn't exist? |
1 Attachment(s)
This does not work at all for me i have verified directories, i do see my watermark images in the settings but thats all .... nothing gets watermarked
my attachment images just display the spinning loading symbol? |
1 Attachment(s)
Quote:
Might be an issue with the fact that you don't use any table prefix, but I'm not sure. However, execute the 3 queries I posted above, removing the {TABLE_PREFIX} part completely and tell me if it helped. (Make backups before running those queries), you can do that in the phpmyadmin via tab "SQL" or in the vb admincp, given that your userid is defined in the according config.php entry allowing to run sql queries. Quote:
Please upload the testattachments.php file into your vbulletin root file, navigate to the file via browser, add a ?i1=13 to the url that it looks like: Code:
http://myforumurl.com/forum/testattachments.php?i1=13 You can see the id of any attachment image by opening the file (rightclick -> Show image) and reading the id from the url. If all runs smoothly, the script should answer with: Quote:
This is the only way to display php warnings/errors, because the standard attachment system has them disabled completely. |
Quote:
Regards, Doug |
yes.
Normally you'd replace it with your table prefix, like "vb4_" for example so the correct table name gets created, but since you don't use table prefixes for your vbulletin tables, just the table name would be the correct name convention. . |
1 Attachment(s)
Quote:
I now have a table in the database and nothing seemed to blow up. (see pic) However, when I run preview or look at attachments, no watermark shows. In preview, I still don't see demo pic. :confused: Regards, Doug |
Looks good to me.
I updated the test script yesterday so it should be more verbose now. Download it from her: https://vborg.vbsupport.ru/showpost....1&postcount=36 Put it into your root dir and navigate to the script, adding ?i1=*number* to the url where *number* is the id from an image where the watermark should appear. |
All times are GMT. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|