Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#73 2004-08-22 18:51:43
- ettober
- New Member
- Registered: 2004-08-10
- Posts: 5
Re: Plugin/Hack: Albumpattern
same issue :-(
I’ve tried to create a brand new section and I’ve checked prefs, verything seems ok…
maybe not so sure on ‘ap_im_path’ field usage
‘Problem Inserting into database’ should not mean some issue accessing the database?
thanks
Offline
Re: Plugin/Hack: Albumpattern
Hi greenrift, thanks for the update. I’ve installed it and run the sql updater: it only says that everything was installed correctly, and in fact on the txp interface everything looks back to normal.
BUT then, when I view the gallery, those ghost-articles reappear. I don’t even know where to delete them now… I’ve looked into the database with Mysql administrator and, as far as I can tell, everything seems normal there too.
I’m at a loss, right now.
Have a look at what happens, if you’ve got some time: www.ringaround.it/pics
UPDATE Sorry it was a stupid error on my part. Now everything is fine. Great!
Thank you!
Last edited by Macubu (2004-08-22 23:07:11)
Offline
Re: Plugin/Hack: Albumpattern
Hi Greenrift,
Just a quick note to say I installed the update and its brilliant! I am building a local pub site and the landlord isn’t computer savvy, Albumpattern should make it easier for him to add his own pictures! :-)
Also… can you post an example form/page that makes AlbumPattern display like PhotoStack (thumbnail navigation).
Thanks
Last edited by Martagnan (2004-08-24 11:26:33)
Offline
#76 2004-08-24 19:23:14
- phil.wilson
- New Member
- From: Freddy Beach, NB, Canada
- Registered: 2004-08-24
- Posts: 2
Re: Plugin/Hack: Albumpattern
great plugin, but I am getting the ghost-articles on my homepage. I didnt think they were supposed to appear there (http://tankow.ca/) Does anybody have a solution to this or did I just do something wrong?
Thanks, Phil
Offline
#77 2004-08-24 22:13:17
- ettober
- New Member
- Registered: 2004-08-10
- Posts: 5
Re: Plugin/Hack: Albumpattern
am I the only one getting ‘ ‘Problem Inserting into database’ when uploading images?
I can’t figure out what I’m doing wrong…
Offline
Re: Plugin/Hack: Albumpattern
> phil.wilson wrote:
> great plugin, but I am getting the ghost-articles on my homepage. I didnt think they were supposed to appear there (http://tankow.ca/) Does anybody have a solution to this or did I just do something wrong?
Make sure your Albumpattern only section has “On front page?” disabled. Otherwise that behavior will exist.
ettober:
On line #458, add ,1
just before the part that says );
. After you do that, upload an image and tell me what is printed out (just email it to me, marshallp@insightbb.com , so that way nothing gets accidently messed up). Then we can start working on the problem.
Last edited by greenrift (2004-08-24 23:10:44)
Offline
#79 2004-08-25 01:19:16
- phil.wilson
- New Member
- From: Freddy Beach, NB, Canada
- Registered: 2004-08-24
- Posts: 2
Re: Plugin/Hack: Albumpattern
Thanks for the info Marshall. I changed the setting and initially it didnt help. So after some digging I checked the page and found that I used the custom article tag but didnt restrict it to articles but not photos. Anyways, problem solved. Thanks to Umberto and Marshall.
Thanks, Phil
Offline
Re: Plugin/Hack: Albumpattern
Hi Greenrift…
Sorry for badgering but… can you post an example form/page that makes AlbumPattern display like PhotoStack (thumbnail navigation).
Cheers
Offline
Re: Plugin/Hack: Albumpattern
> Martagnan wrote:
> Sorry for badgering but… can you post an example form/page that makes AlbumPattern display like
> PhotoStack (thumbnail navigation).
Use the txp:ap_image_index tag and it will output all the thumbnail’s, wrapped in links to that particular image, in the album. If you are currently viewing an image, that particular thumbnail is not wrapped in a link.
Last edited by greenrift (2004-08-25 23:15:29)
Offline
Re: Plugin/Hack: Albumpattern
Uh?
Suddenly AP begins to behave erraticly. I had put in a txp:excerpt tag to visualize the descriptions of the albums in the album list view. The first album displayed only: “excertp_html” and nothing else. The others were perfect.
I tried changing the excerpt on the first album and that’s when the problems begun. It said: “problem updating” the album, then a picture disappeared altogether, then I just deleted the entire album, for fear of doing things worse.
Then I tried to re-create the album. It’s impossible, now. It says: problem creating album. Curiously, if I check the site with FTP, the new directory is there!
I’m sorry, I seem to be a constant cause of trouble, but does anybody know what’s going on?
I just wouldn’t like AP to screw things up in the Mysql database, and now I can’t create new albums… help!
Any help, or word of confort is appreciated.
Ciao!
macubu
Offline
Re: Plugin/Hack: Albumpattern
Hi Greenrift,
<span style=“text-decoration: line-through”>Easy one this… hopefully! When I first installed AP I used a section called ‘about’ to test it. Since then I have created a section called ‘galleries’ and everything works great except comments. Comments are still trying to link to a section called ‘about’.
I have specified ‘galleries’ in AP admin prefs
If I manually alter the url in the address bar it does what it should… I just need to find this rougue ‘about’ reference.</span>
I fixed this by deleting the gallery I had created while the section was called ‘About’ and creating a NEW gallery AFTER I had specified my section as being called ‘Galleries’. I just then re-uploaded my images. My gallery now <em>seems</em> to work perfectly – however….
I am still using the original TXP comments.php file. I tried to replace it with your hack version but it keeled over giving me this error..
<em>Warning: savecomment(/home/mysite/public_html/textpattern/lib/): failed to open stream: Success in /home/mysite/public_html/textpattern/publish/comment.php on line 268
Warning: savecomment(): Failed opening ‘/home/mysite/public_html/textpattern/lib/’ for inclusion (include_path=’.:/usr/share/php’) in /home/mysite/public_html/textpattern/publish/comment.php on line 268
Fatal error: Cannot instantiate non-existent class: textile in /home/mysite/public_html/textpattern/publish/comment.php on line 271</em>
Everything seems to be ok with the original TXP file though???
Thanks
Last edited by Martagnan (2004-08-27 10:13:08)
Offline
Re: Plugin/Hack: Albumpattern
Im getting article titles from elsewhere in <a href=“http://www.theoddies.com/noticeboard/”>my site</a> appearing in the page title of the <a href=“http://www.theoddies.com/galleries/4/background-images”>galleries</a>?
Last edited by Martagnan (2004-08-30 15:25:21)
Offline