PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 3rd, 2011, 01:25 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
PP Pro MySQL Install ERROR

Support,

During the installation script of PP Pro, we are getting the following error related to MySQL:

==================================
Step 3: MySQL error reported: [CREATE TABLE IF NOT EXISTS pp_photoviews (photoid mediumint(9) NOT NULL default '0') TYPE=HEAP]
Result: 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 'TYPE=HEAP' at line 1
Database: vbforum

Step 3: MySQL error reported: [INSERT INTO pp_currency VALUES (23,'Netherlands Antilles, Guilders/Florins','ANG','ƒ', '2')]
Result: Data too long for column 'name' at row 1
Database: vbforum
==================================

Our environment is as follows:

* Windows Server 2008 R2
* MySQL 5.5.12
- DEFAULT CHARSET=utf8
- COLLATE=utf8_bin
* PHP 5.3.6
* VB 4.1.3 Patch Level 1

Please advise.

G.

Last edited by gmatthews; June 3rd, 2011 at 01:44 PM. Reason: Updated collation.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 02:07 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Try turning off strict mode in mysql and see if that helps.

http://www.photopost.com/forum/1149965-post1.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 3rd, 2011, 02:20 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

To begin, we dropped all pp records from the vbforum table to begin another fresh install attempt.

We disabled strict mode per your recommendation, restarted the MySQL server, verified the changes took effect, and then re-ran the pp install script.

Here is the current MySQL error being reported by the pp installer:

===============================================
Step 3: MySQL error reported: [CREATE TABLE IF NOT EXISTS pp_photoviews (photoid mediumint(9) NOT NULL default '0') TYPE=HEAP]
Result: 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 'TYPE=HEAP' at line 1
Database: vbforum
===============================================

Please review and advise.

G.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 02:46 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

To test whether or not it was a collation issue, we dropped the pp tables again, changed the vbforum db collation (including all tables and columns) to general_ci (from bin), and re-ran the pp installer.

Same error and we just gave you.

G.

Last edited by gmatthews; June 3rd, 2011 at 02:47 PM. Reason: Updated procedure.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 04:14 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

We are still unable to successfully install this application. Are you guys working on a solution?

G.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 07:26 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

Do we need to post this issue somewhere else or email another support address?

G.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 07:53 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
what is your list of issues what are the errors

You sure you set this line?

1. Replace in my.ini the current sql-mode line with sql-mode="MYSQL40"
2. Start MySQL with the option --sql-mode="MYSQL40"
3. Execute the query SET GLOBAL sql_mode='MYSQL40'

You would need to restart your server after any change. There should be no issues I am aware of but then again your using the latest version of mysql out there which no webhost does simply to let mysql work out there bugs.

You can send us information to access your site and server and we can take a look at your issues.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 3rd, 2011, 07:56 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

You've got to be kidding. We waited over five hours for you to simply ask us for information which we already provided? I am the sysadmin and am more than familiar with how MySQL works and how to adjust it's settings.

AGAIN:

We dropped all pp records from the vbforum table to begin another fresh install attempt.

We disabled strict mode per your recommendation, restarted the MySQL server, verified the changes took effect, and then re-ran the pp install script.

Here is the current MySQL error being reported by the pp installer:

===============================================
Step 3: MySQL error reported: [CREATE TABLE IF NOT EXISTS pp_photoviews (photoid mediumint(9) NOT NULL default '0') TYPE=HEAP]
Result: 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 'TYPE=HEAP' at line 1
Database: vbforum
===============================================

To test whether or not it was a collation issue, we dropped the pp tables again, changed the vbforum db collation (including all tables and columns) to general_ci (from bin), and re-ran the pp installer.

Same error and we just gave you.

The version of MySQL we are using is the current, STABLE release. Don't you test your software against these releases as they become available?

Regardless, we need you to either fix your code or provide us with some other sort of direction. We renewed our license yesterday and are still unable to install the current version.

G.

Last edited by gmatthews; June 3rd, 2011 at 08:02 PM. Reason: Typo.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 08:04 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
This is a weekend after normal business hours being friday and all. I last replied to you before I left the office as I leave the office at 4.

Anyway if your only getting ONE ERROR with the creation of that one table then I think your issue is with TYPE=HEAP. Newer mysqls actually want engine.

Search for TYPE=HEAP in the install.php and change it to ENGINE=HEAP and then run your install script. It is fine to leave the PP tables you will simply get a bunch of duplicate mysql errors they are fine just run through the install and you should be fine. In fact your present install if you went all the way through it should be fully functional.

If you do not want to reinstall and do a quick test if what you already installed will work then just simply create the missing table in mysql command line like so.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 3rd, 2011, 08:08 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

We'll go ahead and try that then. Out of curiosity, if you're aware that "newer mysqls actually want engine", then why not put that into your code, if at a minimum, via a conditional based on what version of sql the server has installed?

Just a suggestion.

G.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 08:11 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If you look at our install script all the rest have engine. It seems that one table was overlooked
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 3rd, 2011, 08:16 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 15
Support,

No problem. It fixed the issue.

Thanks.

G.
gmatthews is offline   Reply With Quote
Old June 3rd, 2011, 08:18 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Enjoy your weekend.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Error after new install WeeMan Photopost Pro Installation & Upgrades 8 September 20th, 2007 03:10 PM
Mysql error during install guttormson Classifieds Installation & Upgrades 6 July 9th, 2007 10:58 AM
MySQL error in PhotoPost Pro jdgriswold General Discussion 1 December 8th, 2006 11:48 AM
MySQL error during install 2.0 Matthijs Classifieds Bug Reports 3 December 6th, 2004 02:04 PM
MySQL error in ReviewPost Pro 2.8.2 Bene ReviewPost Bug Reports 2 October 6th, 2004 06:28 AM


All times are GMT -5. The time now is 03:32 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0