SMFHacks.com
SMF Gallery Pro => Support => Topic started by: filipina on July 10, 2009, 05:38:52 pm
-
Hey hacks I have some problems and really hope you can assist.
1) When someone uploads a picture which is pending approval I cannot move it to another gallery. I click "edit" and get the new look you have, but when i choose the correct gallery with the arrow it jumps immediately back to the gallery I am trying to move it from and will not let me move the pic.
2) When I try to unapprove an image I get this
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 'SELECTp.ID_MEMBER
FROM smf_gallery_pic AS p
WHERE p.ID_PICTURE = 10835 LI' at line 1
File: /xxxxx/xxxxx/public_html/penpal-community/Sources/Gallery.php
Line: 3363
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.7. The above error might possibly go away if you execute the latest version of upgrade.php.
3) My error logs are filling up fast with these
8: Undefined index: smfgalleryprofile_viewall
File: /home/melin4/public_html/penpal-community/Themes/default/languages/Gallery.english.php (summary sub template - eval?)
Line: 444
8: Undefined index: smfgalleryprofile_title
File: /home/melin4/public_html/penpal-community/Themes/default/languages/Gallery.english.php (summary sub template - eval?)
Line: 433
2: Invalid argument supplied for foreach()
File: /home/melin4/public_html/penpal-community/Themes/default/Gallery.template.php (view_picture sub template - eval?)
Line: 881
8: Undefined index: buttons_set
File: /home/melin4/public_html/penpal-community/Themes/default/Gallery.template.php (view_picture sub template - eval?)
Line: 1898
8: Undefined index: buttons_set
File: /home/melin4/public_html/penpal-community/Themes/default/Gallery.template.php (view_picture sub template - eval?)
Line: 1265
4) The gallery main page is now taking about 10 seconds to open.
5) The video gallery has lost all the videos. I thought maybe I had to unistall and reinstall but when I go to unistall I see this and afraid to proceed
Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Gallery.english.php Test successful
3. Execute Modification ./Sources/Gallery.php Test failed
4. Execute Modification ./Sources/Gallery.php Test failed
5. Execute Modification ./Themes/default/Gallery.template.php Test failed
6. Execute Modification ./Sources/ManagePermissions.php Test failed
Thanks for any assistance please :)
-
I would uninstall and just install the official release for now. It will take me a while to fix any issues that poped up above.
-
I would uninstall and just install the official release for now. It will take me a while to fix any issues that poped up above.
thanks hacks but I need to make sure I don't screw this up :) ... uninstall the upgrade and then install what official release? The last thing i see in my package manager is this below?
46. SMF Gallery Pro Upgrade 1.4.5 [ List Files ] [ Delete ]
-
1.4.5 is the last one for SMF 1.1.x
-
1.4.5 is the last one for SMF 1.1.x
ok thanks but one more thing please... i have rolled it back but my gallery button is gone... cannot see it as guest, member, or ADMIN, yet when I go to my index.template file and look inside it is showing in the code?
http://www.melindaspenpals.com/penpal-community/index.php?action=forum
// The [GoogleTagged] Button
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">Tags</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=gallery"><b>Gallery</b></a>
</td>' , $current_action == 'forum' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
// the [chat] button
if (!empty($modSettings['chatPopUp']))
echo ' <script type="text/javascript">
function openWindow(url,width,height,options,name) {
width = width ? width : 800;
-
That looks good. Double check that is the correct file on the site.
Should be Themes/default/index.template.php
-
hey hacks that is the bizzare thing.. it is showing in the Themes/default/index.template file, the code is there yet it has disappeared off my forum. I thought maybe it was a permissions issue but even as ADMIN the button is not showing since I uninstalled that beta ???
i attached the file it is in there but not showing up anymore
-
1. Fixed for next beta update
2. Fixed for next beta update
3 Looks like the profile images addon was uninstalled which resulted in those errors.
5. The video addon will need to be reinstalled after the beta upgrade.
-
Sounds great! Now if my members could reach my gallery again I will be all set ;D So if the code for the button is obviously in the correct file, yet the gallery button does not appear anymore, then some problem must have happened... either that or I am over medicated ;D
I am no expert here but could this be a language file, something went wrong with a permissions file, clueless here.
-
Try this file took out the permission check I think you are missing some code in Subs.php that does the context check
-
Try this file took out the permission check I think you are missing some code in Subs.php that does the context check
I found the problem in the Subs.php file as you thought it was missing
$context['allow_smfgallery_view'] = allowedTo('smfgallery_view');
Thanks Hacks... well I feel like I still have things out of wack because now it is showing the 1.3 version unistalled on the package manager and I am afraid to touch anything else. Maybe when this is out of beta if you have a few free minutes you could help me make sure I get this thing installed right. Thanks Hacks