Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-02-28 22:26:50

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Thinking about building an e-commerce plugin...

Ok, so I reloaded the nightly build of the plugin, but same issues. What am I doing wrong.

[Edit 1] nevermind, working now.
[Edit 2] Creating a new customer dumps me on a tab-less TXP page

Last edited by mrdale (2007-02-28 22:36:48)

Offline

#14 2007-03-01 02:30:43

a_band
Member
Registered: 2007-01-19
Posts: 41
Website

Re: Thinking about building an e-commerce plugin...

Thanks for pointing out the blank screen. I found the error. The fix will be in tonight’s build.

Over the next few days I’m going to work on getting the orders set up.

Last edited by a_band (2007-03-01 02:31:24)


~ Levi ———————————-

Offline

#15 2007-03-01 08:55:06

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: Thinking about building an e-commerce plugin...

Just installed the latest nightly. One thing I keep running into is that when the plugin is enabled the content tab shows a blank screen. Disabeling the plugin restores the functionality.

- jw -


textile deletes my identity

Offline

#16 2007-03-01 16:12:00

a_band
Member
Registered: 2007-01-19
Posts: 41
Website

Re: Thinking about building an e-commerce plugin...

Really, JW? That’s strange. What version of TXP are you running?


~ Levi ———————————-

Offline

#17 2007-03-01 18:32:39

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: Thinking about building an e-commerce plugin...

4.0.4.

mmm that much a suprise! OK, I’ll try a fresh install of both txp en textcommerce and see what happens.

textile deletes my identity

Offline

#18 2007-03-01 18:40:29

a_band
Member
Registered: 2007-01-19
Posts: 41
Website

Re: Thinking about building an e-commerce plugin...

That’s odd. I’m using 4.0.4 and I’m not having any problems. Did you follow all the nightly build install instuctions?


~ Levi ———————————-

Offline

#19 2007-03-01 20:34:55

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: Thinking about building an e-commerce plugin...

Just did a fresh instal of txp and the plugin. Same issue. Maybe because it’s on a subdomain, I dont know. Will try a tld tommorow and let you know


textile deletes my identity

Offline

#20 2007-03-02 23:04:44

a_band
Member
Registered: 2007-01-19
Posts: 41
Website

Re: Thinking about building an e-commerce plugin...

A subdomain could be the issue but I’m not sure. This is such a non-hardened plugin that the problem could be almost anything. I’ll be interested to hear if you turn anything up.


~ Levi ———————————-

Offline

#21 2007-03-05 12:11:04

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: Thinking about building an e-commerce plugin...

installing from the nightly gives me this error when I do a upgrade off the already existing plugin

Parse error: syntax error, unexpected $end in /users/home/me/domains/my.subdomain.com/public_html/textpattern/lib/txplib_misc.php(512) : eval()'d code on line 2144
The above errors were caused by the plugin:ln_txp_commerce 

when I do a fresh install (local dev with xampplite) it does not work at all. Error message is:

badly formed or empty plugin code

textile deletes my identity

Offline

#22 2007-03-05 14:24:27

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: Thinking about building an e-commerce plugin...

I just want to throw in my support for this plugin — it’s shaping up to be a great piece of software.


Kevin
(graphicpush)

Offline

#23 2007-03-05 16:18:32

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Thinking about building an e-commerce plugin...

same problem here as -jw-. have not done a fresh install though.

[update] fresh install, went through all the steps, empty (blank window with select) store tab.

Last edited by mrdale (2007-03-05 16:49:03)

Offline

#24 2007-03-05 17:14:40

a_band
Member
Registered: 2007-01-19
Posts: 41
Website

Re: Thinking about building an e-commerce plugin...

Okay – I figured out the problem. There’s a size limit on the plugins (see this thread) so my plugin is getting truncated by the database. There’s a couple of ways to get around this:

  1. Alter the txp_plugins table so it accepts larger plugins.
  2. Break the admin plugin into separate smaller plugins

I’m thinking that seeing as we’re already modifying the db schema we might as well just update the txp_plugins , unless someone has a good reason why this is a bad idea.

Here’s the fix sql (I’ll update the install instructions on the site too):

ALTER TABLE txp_plugin CHANGE code code MEDIUMTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, CHANGE code_restore code_restore MEDIUMTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL

Last edited by a_band (2007-03-05 17:46:49)


~ Levi ———————————-

Offline

Board footer

Powered by FluxBB