collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 424
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Author Topic: Gallery Image Block - SP 2.2 Problem  (Read 11057 times)

0 Members and 1 Guest are viewing this topic.

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Gallery Image Block - SP 2.2 Problem
« on: April 05, 2009, 01:37:40 PM »
In SMF 2.0 RC1

After setting up a random image block for SMF Gallery I get this error when pressing the Create Button:

Field 'content' doesn't have a default value
File: D:\Inetpub\www\forums\Sources\SPortalAdmin1-1.php
Line: 1029

The preview is exactly what I am looking for but can't add it to the portal.

Also in SMF 1.1.8 I get the same error...

Field 'content' doesn't have a default value
File: D:\Inetpub\www\forums\Sources\SPortalAdmin1-1.php
Line: 1029
« Last Edit: May 05, 2009, 04:32:03 PM by Quinn »

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Gallery Image Block - SP 2.2 Problem
« Reply #1 on: April 07, 2009, 11:15:16 PM »
Firstly, your first error message is odd as it occurs in the SPortal1-1.php file which doesn't exists for the SMF 2 version.

I can't replicate this error in either version of SMF, with SimplePortal 2.2. Please make sure that you are using the latest versions of SimplePortal and the Gallery mod (you will need the correct version for your version of SMF for the gallery mod).

I'll need some more information to try and resolve this issue.
Which database type are you using? MySQL/PostGreSQL/SQLite.
Do you get errors with any of the content blocks? Such as the PHP, HTML and BBC blocks.
Do you have any other errors in your forum error log?
Which exact versions of SimplePortal, SMF Gallery and SMF are you running?
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #2 on: April 13, 2009, 03:40:32 PM »
Firstly, your first error message is odd as it occurs in the SPortal1-1.php file which doesn't exists for the SMF 2 version.

I can't replicate this error in either version of SMF, with SimplePortal 2.2. Please make sure that you are using the latest versions of SimplePortal and the Gallery mod (you will need the correct version for your version of SMF for the gallery mod).

I'll need some more information to try and resolve this issue.
Which database type are you using? MySQL/PostGreSQL/SQLite. MySQL
Do you get errors with any of the content blocks? Such as the PHP, HTML and BBC blocks. No
Do you have any other errors in your forum error log? No
Which exact versions of SimplePortal, SMF Gallery and SMF are you running?

SMF Gallery Pro   ...  Your Version: 1.4.5 Latest Version: 1.4.5     
SMF Gallery Pro SSI    1.1
SMF Gallery Pro - Video AddOn    1.1.1



SiNaN did the Sp 2.2 install on my SMF 1.1.8 site last week... the SMF 2.0 RC1 install is recent as well and using the same versions of SMF Gallery &  MySQL
« Last Edit: April 13, 2009, 03:57:54 PM by Quinn »

Offline Eliana Tamerin

  • Comrade
  • *
  • Posts: 2889
  • Gender: Female
  • SMF Version: 2 RC2
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #3 on: April 13, 2009, 08:47:34 PM »
Did you uninstall SP before the upgrade to SMF 2.0 RC1, or did you let the installer try to fix it?
Ms. Eliana TamerinIt should be painfully obvious by now that I don't respond to support PMs. Don't send me PMs for support. They will be ignored and deleted, post on the Support Boards to get support.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Gallery Image Block - SP 2.2 Problem
« Reply #4 on: April 14, 2009, 04:38:38 AM »
Run this query from phpMyAdmin and try again:

Code: [Select]
ALTER TABLE smf_sp_blocks
DROP content
And slowly, you come to realize... It's all as it should be...

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #5 on: April 14, 2009, 01:20:41 PM »
Did you uninstall SP before the upgrade to SMF 2.0 RC1, or did you let the installer try to fix it?

SMF 2.0 Rc1 is a recent install... previous SP was uninstalled as per instructions
« Last Edit: April 14, 2009, 01:46:23 PM by Quinn »

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #6 on: April 14, 2009, 01:42:13 PM »
Run this query from phpMyAdmin and try again:

Code: [Select]
ALTER TABLE smf_sp_blocks
DROP content

That returned no errors or anything for SMF 1.1.8 ... and the gallery block preview works now but Add Block hangs, Loading...

for the SMF 2.0 rc1
Error

SQL query:

ALTER TABLE smf2_sp_blocks DROP content

MySQL said: Documentation
#1091 - Can't DROP 'content'; check that column/key exists


SMF 2.0 gallery block preview show the title bar but no (latest or random)  images in the body of the block

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #7 on: April 14, 2009, 01:54:31 PM »
Firstly, your first error message is odd as it occurs in the SPortal1-1.php file which doesn't exists for the SMF 2 version.

I can't replicate this error in either version of SMF, with SimplePortal 2.2. Please make sure that you are using the latest versions of SimplePortal and the Gallery mod (you will need the correct version for your version of SMF for the gallery mod).

I'll need some more information to try and resolve this issue.
Which database type are you using? MySQL/PostGreSQL/SQLite.
Do you get errors with any of the content blocks? Such as the PHP, HTML and BBC blocks.
Do you have any other errors in your forum error log?
Which exact versions of SimplePortal, SMF Gallery and SMF are you running?

In the SMF 1.1.8 Default Theme folder I have these files:

SPortal.template.php
SPortal1-1.template.php
SPortalAdmin.template.php
SPortalAdmin1-1.template.php
SPortalBlocks1-1.template.php

If i rename the 'SPortalBlocks1-1. template.php' to .old the forum does not load... Unable to load the 'SPortalBlocks1-1' template.

In the SMF 2.0 Rc1 Default Theme folder I have these files:

SPortal2.template.php
SPortalAdmin2.template.php
SPortalBlocks2.template.php
« Last Edit: April 14, 2009, 02:04:13 PM by Quinn »

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #8 on: April 18, 2009, 11:41:25 AM »
Latest attempt to make the Gallery block work...

Uninstalled SP 2.2 & deleted the SP 2.1.1 package files from SMF 1.1.8 then re-installed SP 2.2.

I can preview the Gallery Block but it still hangs when adding the block.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Gallery Image Block - SP 2.2 Problem
« Reply #9 on: April 25, 2009, 04:48:29 AM »
Sorry for delayed response Quinn. Can you provide me a database and admin access to your forum?
And slowly, you come to realize... It's all as it should be...

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #10 on: April 30, 2009, 02:24:08 PM »
Sorry for delayed response Quinn. Can you provide me a database and admin access to your forum?

not a problem SiNaN, thank you...

PM sent

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Gallery Image Block - SP 2.2 Problem
« Reply #11 on: May 01, 2009, 03:26:56 AM »
Solved the issue by dropping 'content' and 'parameters' fields in sp_blocks table, which are no longer used. They are now dropped by default with install scripts and database tools.
And slowly, you come to realize... It's all as it should be...

Offline Quinn

  • Semi Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Bstreet's Rant's and Raves... RAVEN
  • SMF Version: 1.1.11
  • SP Version: 2.3.2
Re: Gallery Image Block - SP 2.2 Problem
« Reply #12 on: May 05, 2009, 04:31:41 PM »
Solved the issue by dropping 'content' and 'parameters' fields in sp_blocks table, which are no longer used. They are now dropped by default with install scripts and database tools.

Thank You SiNaN... for your dedication and to a great product.