Comments (14)
Did you install from scratch ?
I recommend to install the component from scratch until PL is reached since there are some modifications on the SQL table.
If you uninstall Cliche, make sure that the old tables are properly removed since the old components did not have an uninstall hook to remove them.
from cliche.
Yes, this is my first installation from scratch of Modx and Cliche. There are no errors during installation except this blue message:
Could not load package metadata for package cliche.
I tried to uninstall it and got this red lines:
Path specified for package cliche is not a valid or accessible directory: C:/xampp/htdocs/modx/core/components/cliche/model/
Could not load class: ClicheAlbums from mysql.clichealbums.
Could not load class: ClicheItems from mysql.clicheitems.
But this directory exist.
Then I drop two Cliche mysql tables and reinstall, but it seems to be the same and error in the first message here again.
from cliche.
Can you see the following files in the "C:/xampp/htdocs/modx/core/components/cliche/model/" directory
- clichealbums.class.php
- clicheitems.class.php
- mysql directory with 4 files in it : https://github.com/lossendae/Cliche/tree/master/core/components/cliche/model/cliche/mysql
from cliche.
There is no such files and folder there ("core/components/cliche/model/")
only in "core/components/cliche/model/cliche/"
from cliche.
My mistake, there are in the right place.
Can you activate the debug mode ? (Set debug to true on this line in the main class: https://github.com/lossendae/Cliche/blob/master/core/components/cliche/model/cliche/cliche.class.php#L92 )
from cliche.
when it activated error dissapears:
http://dl.dropbox.com/u/8107132/screens/cliche_debug_on.jpg
when it set to false:
http://dl.dropbox.com/u/8107132/screens/cliche_debug_off.jpg
error log of modx is empty in both ways.
what next I should do after activation of debug mode?
from cliche.
When debug is off, can you check your browser console and tell me what does the server response says ?
http://img11.hostingpics.net/pics/352581response.png
from cliche.
http://dl.dropbox.com/u/8107132/screens/cliche_console_output.jpg
if I understand you right
from cliche.
I forgot to mention that I use firebug.
I'm sure your tool can do the same but i don't know it. Do you have firebug intalled ?
from cliche.
there is two cliche/connectors.php lines:
(1)
Strict Standards: Redefining already defined constructor for class ClicheAlbums_mysql in C:\xampp\htdocs\decoracryl\core\components\cliche\model\cliche\mysql\clichealbums.class.php on line 10
Strict Standards: Redefining already defined constructor for class ClicheItems_mysql in C:\xampp\htdocs\decoracryl\core\components\cliche\model\cliche\mysql\clicheitems.class.php on line 10
{"success":true,"total":0,"results":[]}
(2)
Notice: Undefined index: album in C:\xampp\htdocs\decoracryl\core\components\cliche\processors\mgr\album\getlist.php on line 4
Strict Standards: Redefining already defined constructor for class ClicheItems_mysql in C:\xampp\htdocs\decoracryl\core\components\cliche\model\cliche\mysql\clicheitems.class.php on line 10
Strict Standards: Redefining already defined constructor for class ClicheAlbums_mysql in C:\xampp\htdocs\decoracryl\core\components\cliche\model\cliche\mysql\clichealbums.class.php on line 10
Fatal error: Call to a member function toArray() on a non-object in C:\xampp\htdocs\decoracryl\core\components\cliche\processors\mgr\album\getlist.php on line 50
from cliche.
Can you try the last commits from this repo ?
from cliche.
Thanks! The error dissapeared.
But in firebug remains this lines:
Notice: Undefined index: album in C:\xampp\htdocs\decoracryl\core\components\cliche\processors\mgr\album\getlist.php on line 4
Fatal error: Call to a member function toArray() on a non-object in C:\xampp\htdocs\decoracryl\core\components\cliche\processors\mgr\album\getlist.php on line 50
Maybe it because I manual deleted the two mysql tables & reinstalled Cliche?
What is the proper way for me to reinstall it right now?
from cliche.
I just pushed somes changes, can you try them ?
from cliche.
Thank you very much for your attention, all issues completely gone.
Cheers!
from cliche.
Related Issues (20)
- toPlaceholder & fancybox HOT 3
- Javascript conflict HOT 1
- Browse... button doesn't work HOT 3
- itemTpl not being read? HOT 4
- uploading not recognizing or processing UPPERCASE file extensions HOT 4
- After go back to album list it starts at page 1
- macintosh upload gets stuck somehow HOT 5
- Requested new features!
- When clicking on an album the variables are passed, but the page doesn't change. HOT 1
- New update? HOT 9
- Placeholder to retrieve the Album ID on a template ? HOT 4
- How to disable the load of jquery ? HOT 6
- How to add a plugin ?
- Fancybox doesn't works with jQuery >= 1.9
- lower/uppercase issue
- File Upload Error HOT 1
- Client-side resize
- ERROR Unexpected token <:
- Error "Fatal error: Cannot redeclare class PhpThumb"
- Cliche caching HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cliche.