Forum Index   -   Topic Index
   Modules
     Picito 1.1 port to XoopsCube
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Astro
Posted on: 2007/4/22 7:59
Just popping in
Joined: 2007/4/22
From:
Posts: 2
Picito 1.1 port to XoopsCube
Hi!

I am trying to port my module Picito 1.1 from Xoops to XoopsCube and everything works so far except the error I get when uploading images:


Notice [PHP]: Trying to get property of non-object in file C:\Programi\XAMPP\xampp\htdocs\xoopscube\footer.php line 19


So the code executes until this line in footer.php:


if (!is_object($root->mController)) exit();


Can someone explain what exactly mController does?

Thank you!
Herve
Posted on: 2007/4/22 15:35
Just can't stay away
Joined: 2007/1/27
From:
Posts: 74
Re: Picito 1.1 port to XoopsCube
Hello,

This problem was reported to the Xoops Cube team :
http://sourceforge.net/tracker/index.php?func=detail&aid=1697761&group_id=159211&atid=943471

In your Php script, you must have a variable called $root, temporarily, change its name.

bye,
Hervé
Astro
Posted on: 2007/4/22 17:17
Just popping in
Joined: 2007/4/22
From:
Posts: 2
Re: Picito 1.1 port to XoopsCube
You're right, this was the problem.

Module icon: http://i18.tinypic.com/2e3a7wz.png

Picito is a very simple Xoops module for uploading pictures and creating thumbnails (like imageshack for example). Please note that this module was written just to check how Xoops works but I guess it's better to release it than delete it.

It takes a picture, uploads it, creates thumbnail and two fields (bbcode and html code) for posting this picture to forums or websites. You can delete those pictures from admin panel.

Screenshot 1

Screenshot 2

Download
gigamaster
Posted on: 2007/4/23 15:44
Home away from home
Joined: 2005/12/30
From: Switzerland
Posts: 1227
Re: Picito 1.1 port to XoopsCube
Hi Astro,

Welcome to XOOPS Cube!

Thank you for your contribution. I would like to invite you to share your XC upgrade experience.
It's easy as Copy and Paste from the following Report Examples to the following forum thread:
How To : XOOPS Cube Install and Migration

Have Fun !


----------------
Xoops Cube Support

MAC OSX - Apache 2.2 - MySQL 5.5 - PHP 5.3
Free BSD - Apache 2.2 - MySQL 5.5 - PHP 5.2

OneOfTen
Posted on: 2007/4/26 4:55
Just can't stay away
Joined: 2005/12/31
From: Germany
Posts: 118
Re: Picito 1.1 port to XoopsCube
Cool mod. That is exactly what I was searching for month now. All other mod's were too full of function for that project and I had to edit too much templates for making all the unneccessary functions invisible.

And a warm welcome to cube from me as well.


----------------
[b][size=small][font=Verdana]Co-Admin on Xoopscube.org

Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 

Who's Online
16 user(s) are online (8 user(s) are browsing Forums)

Members: 0
Guests: 16

more...

Welcome | News | Overview | Documentation | Forum | Tutorialstop
Brasilian | French | German | Greek | Japanese | Korean | Russian | T-Chinese
Powered by XOOPS Cube © 2001-2011 The XOOPS Cube Project