Gallery name provided was not found in the database
Posted: 12 February 2008 03:27 AM   [ Ignore ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

When trying to implement the GX2 entry form, I get the following error:

the gallery name provided was not found in the database. Please contact customer support

I am sure I entered the right gallery name. Any suggestions?

Profile
 
 
Posted: 12 February 2008 07:17 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

Are you specifying the Full Name of the gallery (not the short name) from the Photo Gallery Module?

Also, if so, are you able to upload a photo through the regular Photo Gallery Module?

 Signature 
Profile
 
 
Posted: 12 February 2008 08:18 AM   [ Ignore ]   [ # 2 ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

I am using the short name and, yes, I can upload images via the CP Gallery Module. I tried using a different gallery alltogether with the same problem.

Does the form need to be in particular location?

Profile
 
 
Posted: 12 February 2008 09:08 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

You cannot use the short name… you must use the Long Name

 Signature 
Profile
 
 
Posted: 12 February 2008 09:32 AM   [ Ignore ]   [ # 4 ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

I used “photos” as a short name and “Photos” (with a capital P) for a long name. I tried variations on the long name but no success.

Profile
 
 
Posted: 13 February 2008 08:02 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

Hmmmm… strange…

What does your code look like?

 Signature 
Profile
 
 
Posted: 13 February 2008 08:09 AM   [ Ignore ]   [ # 6 ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

I didn’t temper with it much yet. Just wanted to see how it works.

{exp:gallery_extended:entry_form gallery_name="Photos” return="{path=projects/view}" override_resize="no"}
<label class="
form_label">File</label> 
<input type="
file" class="form" name="image1" size="35" />
<label class="
form_label">Title</label> 
<input type="
text" class="form" size="75" maxlength="100" name="title" value="” />
<
label class="form_label">Custom Field 1</label
<
input type="text" name="custom_field_one" class="form" size="75" maxlength="100" value="” />
<label class="
form_label">Caption</label> 
<textarea name="
caption" cols="75" rows="5" class="form" id="caption">
<select name="
category"> 
{category_menu} 
<option value="
{cat_id}">{cat_name} 
{/category_menu} 
</select>
<input name="
submit" type="submit" class="form" value=” Upload Photo “ />
<input type="
hidden" name="apply_watermark" value="n" /> 
<input type="
hidden" name="allow_comments" value="n" /> 
<input type=’hidden’ name="
status" value=’o’ />
<input type="
hidden" name="entry_date" id=’entry_date’ value=’{current_time format="%Y-%m-%%h:%%A"}’ />
{/exp:gallery_extended:entry_form}

Profile
 
 
Posted: 13 February 2008 08:21 AM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

I’m curious as to if you have the curly quotes in your code.... that woul dbe enough to do it.

I’ve fixed up all the quotes and reprovided the code again below:

{exp:gallery_extended:entry_form gallery_name="Photos" return="{path=projects/view}" override_resize="no"}
<label class="form_label">File</label
<
input type="file" class="form" name="image1" size="35" />
<
label class="form_label">Title</label
<
input type="text" class="form" size="75" maxlength="100" name="title" value="" />
<
label class="form_label">Custom Field 1</label
<
input type="text" name="custom_field_one" class="form" size="75" maxlength="100" value="" />
<
label class="form_label">Caption</label
<
textarea name="caption" cols="75" rows="5" class="form" id="caption">
<
select name="category"
{category_menu} 
<option value="{cat_id}">{cat_name} 
{
/category_menu} 
</select>
<
input name="submit" type="submit" class="form" value=" Upload Photo " />
<
input type="hidden" name="apply_watermark" value="n" /> 
<
input type="hidden" name="allow_comments" value="n" /> 
<
input type="hidden" name="status" value="o" />
<
input type="hidden" name="entry_date" id="entry_date" value="{current_time format="%Y-%m-%%h:%%A"}" />
{/exp:gallery_extended:entry_form}

Let me know if that does anything for you.

I’ve also updated the Documentation Example to display the proper quotes so this does not happen for others LOL

 Signature 
Profile
 
 
Posted: 13 February 2008 08:41 AM   [ Ignore ]   [ # 8 ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

Great! The form appears now. However, everything else on the page doesn’t. Is that normal?

Profile
 
 
Posted: 13 February 2008 08:46 AM   [ Ignore ]   [ # 9 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3257
Joined  2006-10-18

Haha, yes, that is normal rasberry

Seriously though… definately not LOL

May I see what the rest of your code looks like? smile

 Signature 
Profile
 
 
   
 
 
‹‹ Error with entries tag      User edit form ››