philsturgeon / pyrocms
- Source
- Commits
- Network (19)
- Issues (14)
- Downloads (15)
- Wiki (1)
- Graphs
-
Branch:
master
-
When I was saving an item I got a validation error:
An Error Was Encountered
Unable to load the requested language file: language/validation_lang.php
I translated the site into Chinese.Comments
-
When I create a catagory in Chinese.I found the slug field is empty.So the record can't be edited and deleted.What can I do?please.
Comments
philsturgeon
Tue Jul 28 07:20:54 -0700 2009
| link
So you create a category, it saves but it loses the slug?
Can you try with English characters please, see if the same happens.
I am not sure if non A-Z will be supported in the URL. Does this work with non-CodeIgniter web-sites?
Yes.But English characters is OK.Maybe the url_title function does'nt support chinese string.I try to use wordpress's sanitize_title_with_dashes function.It can not work either.The server responsed that it is a bad url.The url like http://localhost/pyrocms/admin/categories/edit/%25e9%25a5%25ad%25e9
philsturgeon
Tue Jul 28 08:22:28 -0700 2009
| link
Thats really not a good URL to have. No users, bots or ANYTHING would see that as anything other than gibberish.
Not sure what to do about this.
philsturgeon
Tue Jul 28 08:25:21 -0700 2009
| link
Could you send me what you have so far? I will try and have a look this week. email@philsturgeon.co.uk.
May I ask you a question?Thank you.Why use slug instead of primary key?Because I found the news module do work using primary key regardless of which language.
philsturgeon
Tue Jul 28 08:39:24 -0700 2009
| link
Slug = text representative that shows both users and crawlers what the content is.
ID = number in the database.Of course a number works in every language, they are always the same.
I wouldnt want to ruin SEO for all languages with English characters, just to support non-English languages. Perhaps I can look into using primary key for non-A-Z based languages?
Oh,I see.Someone have get a solution.He translate the Chinese Character into pinyin.Pinyin use A-Z just like english.But it is a little complex.see http://www.moon-blog.com/2007/08/wordpress-plugin-chinese-pinyin-slug.html
I have sent you the catagories table.Please check it.Thank you.
Yes,You are right.I use hash code in slug for non-A-Z based languages.It do works.Just modified url_title.Thank you.
YorickPeterse
Thu Aug 27 07:08:18 -0700 2009
| link
So this one can be closed ?
philsturgeon
Thu Aug 27 07:23:28 -0700 2009
| link
No. News articles create a slug automatically, based on the title. These slugs will be broken.
you have to send the ID number since the ID is unique , i already got issue opened check it .i also modified the cms version work this way , if you are interested
philsturgeon
Mon Nov 02 07:28:15 -0800 2009
| link
Meabed: We cannot just stop using slug's and swap everything to an ID, there is a reason we used slugs in the first place.
philsturgeon
Tue Nov 10 00:58:21 -0800 2009
| link
Should we allow a human-pickable slug for everything using a slug? Can auto-suggest with JavaScript and only allow A-Z, 0-9, -, _.
-
When I created an article at news module I got messy code at body field.By the way I'm using Chinese language.I found htmlentities function translate all Chinese Character into HTML entities.So I add htmlspecialchars function's second and third parameters like “htmlentities(stripslashes($article->body),ENT_COMPAT,'UTF-8')”.It works.
Comments
It will show html code in article.It seems htmlentities function must change into html_entity_decode function both in view.php and admin/preview.php under news module's view directory.
philsturgeon
Fri Aug 21 04:09:51 -0700 2009
| link
I tried htmlentities(stripslashes($article->body),ENT_COMPAT,'UTF-8') and it started showing HTML in my posts.
Are you suggesting that using: html_entity_decode(htmlentities(stripslashes($article->body),ENT_COMPAT,'UTF-8') ) will work? >.<
philsturgeon
Mon Nov 09 08:31:20 -0800 2009
| link
wuts: I need a test plan for this, can you send some characters that are currently breaking?
-
I found it link to home page of frontend when I create "new article" button at backend.I just upgrade from the v0.9.6.0 to v0.9.6.0.What shall I do?
Comments
philsturgeon
Thu Aug 13 15:41:49 -0700 2009
| link
Has been fixed in v0.9.6.2 was an issue with the multi-langing of the "new item" type buttons.
-
display nothing in IE while using lazydays template
1 comment Created 4 months ago by wutsDisplay nothing in IE while using lazydays template.I found the order of the below html code is upside down.The code locate at themes/lazydays/views/metadata.php.
<?php echo $page_title;?> | <?php echo $this->settings->item('site_name'); ?>
The correct order is:
<?php echo $page_title;?> | <?php echo $this->settings->item('site_name'); ?>Comments
philsturgeon
Wed Aug 19 03:12:30 -0700 2009
| link
Done.
-
Slug Error while writing in UTF-8 Arabic Categories !
4 comments Created about 1 month ago by Meabedso instead of passing the Slug , you can use the ID since the id is unique !
function updateCategory($input, $id) { $this->db->update('categories', array( 'title' => $input['title'], 'slug' => url_title(strtolower($input['title'])) ), array('slug'=>$id)); return TRUE; }and in view instead of showing the cat->slug , ( cat->id );
You need full modification to the Slug , so i won't be necessary ? in all inputs and sql selects
I already have modified version :) i also want to contribute in the project :) how should i ?Comments
philsturgeon
Mon Nov 02 07:27:00 -0800 2009
| link
Please report an error in full before you try to provide a fix.
Do you have screenshots or error messages for me to look at?
the error if i make for Example category in with Arabic title , so the function url_title that take the string and convert it to title by placing dashes instead of spaces .etc ..
so when u make it in Arabic the Slug become null !
so whenever you want to Edit or delete category it won't be don't cuz category->slug = null !
philsturgeon
Tue Nov 03 12:59:52 -0800 2009
| link
Well instead of using ID for edit and delete, we need to solve this problem of null slugs.
What are your suggestions for that? The slugs need to exist for news, categories, suppliers, etc.
-
Admin Panel Problem in Table Sorting in IE7
10 comments Created about 1 month ago by MeabedOpen the script in IE7 , you will get JavaScript error , and table sorting neither the mouse cursor Working well , am still debugging the problem , if i find solution i'll post it here , thank you
Comments
I found Solution by removing $('a[rel*=modal], a.modal').livequery(function() { in admin.js file !
philsturgeon
Mon Nov 02 07:30:00 -0800 2009
| link
Meabed: You cant just delete random bits of code to fix one error. That will stop all modal links from working!
I'll look into this error, thank you for reporting it, but please leave the solutions to us.
philsturgeon
Tue Nov 03 01:38:43 -0800 2009
| link
This should be fixed in v0.9.7, can you confirm?
It didn't Work yet ,
Meabed: You cant just delete random bits of code to fix one error. That will stop all modal links from working!
btw am Experienced web Developer am not a kid playin around :)Deleting this will stop modal i know ! but you can simply change the modal links because it IE says missing String ! so its maybe the selector missing something ?
Also by Deleting this Line , i got no problems At ALL !and the script working fine ! ALL functions !
YorickPeterse
Tue Nov 03 09:09:44 -0800 2009
| link
I guess that when Internet Explorer is the only one complaining it's IE's fault ;)
philsturgeon
Tue Nov 03 10:26:08 -0800 2009
| link
If it breaks modal windows then not everythin works fine! We'll find a proper fix but please provide some screenshots or error messages from firebug. Or a step by step approach of how to recreate this error as I cannot recreate it.
yes indeed its IE fault , i don't like IE also , but all the people still using it :)
The Error when u login to the control panel in IE 7 , the style is ok , the sidebar menu is different ill post screen now , also the Table Sorting Doesn't WORK !
Screen Shot : http://yfrog.com/5z43780055j
philsturgeon
Tue Nov 03 13:05:01 -0800 2009
| link
I cannot test this on IE7, but from the screenshot I am not worried about those issues. If it WORKS in IE7 then that is good enough for me.
Other than a few slight display issues, the only problem here it seems it table sorting. Short of removing the line for modal windows, if you find a proper fix then please post it here.
Comment those lines , i know it will remove the Loading image from the Facebox , but it still have fading effect .
// Facebox modal window //$('a[rel*=modal], a.modal').livequery(function() { // $(this).facebox({ // opacity : 0.4, // loadingImage : APPPATH_URI + "assets/img/facebox/loading.gif", // closeImage : APPPATH_URI + "assets/img/facebox/closelabel.gif", // }); // }); // End Facebox modal windowit working like this :)
philsturgeon
Tue Nov 03 15:37:25 -0800 2009
| link
Solved. The IE7 JS engine does not support , at the end of a property list, but Gecko engines and WebKit do. Fixed in master.
-
add {Number}
To each .XML file
and in modules_m
function _formatXML($xml_file)
Change the array to ( return array(
'order' => (string) $xml->order,.......)then in getmodules
{ change $modules[$module['name']] = $module;
$modules[$module['order']] = $module; }Comments
philsturgeon
Mon Nov 02 07:25:23 -0800 2009
| link
While this is possible, its an ugly non-modular solution.
This is something we will address when the modules move over to the Database. Then they can be easily ordered via drag/drop and the order can be saved.
Sorry to close this one, its just something we cant do right now.
-
when i try to make 2
- menus like the seetings one , when i create on one menu , it expand and then shrink , then when i click on it again no action because the style didn't change ! i fixed the problem in js/admin.js i changed to
if(li.hasClass("active"))
{ li.removeClass("active").addClass("inactive").find(".expand").addClass("expanded"); $(this).parent('li').siblings().removeClass("active").addClass("inactive").find(".expand").removeClass("expanded"); }Comments
philsturgeon
Mon Nov 02 01:29:38 -0800 2009
| link
Im not sure what the problem was here. Can you provide a screenshot?
-
you better use px instead em in the Css file since PX in more accurate but em depends on the browser defaults ! IE / FF !
Comments
philsturgeon
Mon Nov 02 08:40:21 -0800 2009
| link
Neither is "more accurate". em is relative to the font size, which we reset to a consistent default, meaning that neither IE or FF will be any different.
This is not an issue.
-
Could you make Poll modules?
Comments
philsturgeon
Thu Nov 05 10:34:23 -0800 2009
| link
Yes you could!
-
with pyrocms v. 0.9.7, in the file installer/sql/1-tables.sql the creation of asset and asset_folder tables is posted twice.
The solution is to drop the last two "create table" statements.
bye
Devis_
Comments
philsturgeon
Thu Nov 05 01:03:12 -0800 2009
| link
Thank you for the bug report but this has already been fixed and pushed to master.
Please before posting a bug report could you have a quick look at the history or directly at the file in question just to see if it has been fixed already? Saves everyone time and means you can just grab the new code instead of waiting for a fix.
Cheers,
Phil -
After installation I got this:
PHP Fatal error: Uncaught exception 'Dwoo_Exception' with message 'The compile directory must be writable, chmod "application/cache/dwoo/compiled/" to make it writable' in /var/www/html/pyrocms/application/libraries/dwoo/Dwoo.php:686\nStack trace:\n#0 /var/www/html/pyrocms/application/libraries/MY_Parser.php(46):So this should be another directory to have 777 and I think you should add it in the directory permissions step (step2?)
chmod 777 -R application/cache/dwoo/ solves this issue
Comments
philsturgeon
Wed Dec 23 07:19:58 -0800 2009
| link
A good point. The INSTALL file contains:
chmod 777 -R application/cachebut this is missed for users installing. Simplepie will have the same issue.
philsturgeon
Wed Dec 23 07:21:52 -0800 2009
| link
Added to internal tracker, we had a similar ticket for SimplePie already.
-
An Error Was Encountered Unable to load the requested class: settingsCould this be a permission problem? I'm kind of stuck here and unable to do get going with the tests.
From a fresh PyroCMS v0.9.8-dev install.
Comments
philsturgeon
Wed Dec 23 07:23:03 -0800 2009
| link
What page is this on? Settings should be autoloaded so shouldnt be an issue.
philsturgeon
Wed Dec 23 07:27:08 -0800 2009
| link
Ahh shit, gotcha. It is because it shows as lowercase in the Git repo. For me it is uppercase, but it wont notice the difference when I commit. This will only affect some OS's luckily.
Simply rename it in /application/modules/core/settings/libraries/settings.php to Settings.php
I will delete the file and recommit with a capital name.
marcobarbosa
Wed Dec 23 08:06:05 -0800 2009
| link
Ok, renaming goes around but then I get issues in MY_Router:
Severity: Warning Message: include_once(application/modules/core/settings/libraries/ settings.php): failed to open stream: No such file or directory Filename: libraries/MY_Router.php Line Number: 158 Severity: Warning Message: include_once(): Failed opening 'application/modules/core/settings/libraries/settings.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') Filename: libraries/MY_Router.php Line Number: 158I guess there's settings.php being called around somewhere.
So I don't know if you should rename settings to Settings.php in this case..
I'll comment back if I have any idea
EDIT : Renaming to Settings AND change "settings/Settings" in the autoload file goes around and gives a different (easier?) problem:
A Database Error Occurred Error Number: 1146 Table 'pyrocms.settings' doesn't exist SELECT slug, type, IF(`value` = "", `default`, `value`) as `value` FROM (settings)And I don't have that table. I believe I'm missing quite a few tables here because I got stuck on Step4 (finished the installation there and changed database.php manually)
marcobarbosa
Wed Dec 23 08:30:08 -0800 2009
| link
Sorry for the confusion.. I have fixed the database and having "Settings.php" file and "settings/Settings" on autoload will reproduce the same problem above on MY_Router.php line 158.
philsturgeon
Thu Dec 24 03:45:03 -0800 2009
| link
If the install failed half way through then you would be missing tables yes. Please can you wipe and start again after this mornings push, as it has taken care of several bugs and made good progress on the interface.
philsturgeon
Thu Dec 24 03:46:14 -0800 2009
| link
Also, make sure you are using Settings.php and have settings/settings.php in your autoload.
-
There's a small typo that will reproduce a mysql syntax error if one wants to run the sql files located in installer/sql.
In the file tables.sql:
CREATE TABLE `pages` ( (...) `updated_on` varchar(11) collate utf8_unicode_ci NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `Unique` (`slug`,`parent_id`), KEY `slug` (`slug`), KEY `parent` (`parent_id`), <- here! ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='User Editable Pages';Note that there is a extra "," before the ENGINE
So it should be:
`updated_on` varchar(11) collate utf8_unicode_ci NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `Unique` (`slug`,`parent_id`), KEY `slug` (`slug`), KEY `parent` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='User Editable Pages';Comments
philsturgeon
Thu Dec 24 03:42:00 -0800 2009
| link
Fixed in this mornings push.
-
wonder if this can replace assembla?
Comments
-
On update the navigation cache is not being cleared correctly.
Comments
philsturgeon
Sun Jun 07 15:32:33 -0700 2009
| link
A user forgot to clear his cache after upgrade.
-
Frontend does not use index.php when configured to do so.
Comments
philsturgeon
Sun Jun 07 15:32:53 -0700 2009
| link
Also due to user not clearing cache.
-
If / is missing from automatically calculated paths in constants.php, shove it on there.
Comments
-
base_url not working for WAMPserver and paths not working for sub-folders. Test the bloody lot!
Comments
philsturgeon
Tue Jun 09 11:37:19 -0700 2009
| link
All guessed paths will add missing slashes to the start or end of the path, including in the base_url.
-
Fatal error: Call to undefined function curl_init() in E:\application\modules\twitter\libraries\Twitter_lib.php on line 380
Ignore that error and fail quietly.
Comments
-
http://pchater.servehttp.com/admin/login.html
Gives lots of errors:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: libraries/MY_Controller.php
Line Number: 134
A PHP Error was encounteredSeverity: Notice
Message: Trying to get property of non-object
Filename: models/modules_m.php
Line Number: 60
Comments
philsturgeon
Tue Jun 09 11:36:43 -0700 2009
| link
Well god knows how he is getting that, there is no line 134!
YorickPeterse
Wed Jun 10 15:19:17 -0700 2009
| link
The link is dead :|
philsturgeon
Wed Jun 10 15:26:37 -0700 2009
| link
The issue was solved I believe. He has now set up PyroCMS perfectly so... may as well close this.
-
Replace XML method lists with ReflectionClass
0 comments Created 6 months ago by philsturgeonReplace XML files for method lists with ReflectionClass.
http://nz.php.net/manual/en/language.oop5.reflection.php#language.oop5.reflection.reflectionclass
Example:
//Use them like this $R = new ReflectionClass("MyClass"); //print all public methods foreach ($R->getMethods(ReflectionMethod::IS_PUBLIC) as $m)
echo $m->__toString();
?>Will have to be done over AJAX or through a different named class as only one "Admin" class may be declared at one time.
Comments
-
Need a "Categories" view fragment for News module much the same as the "Archives" fragment.
Comments
YorickPeterse
Tue Jul 14 13:47:55 -0700 2009
| link
Add them to the sidebar instead.
philsturgeon
Tue Jul 14 15:44:50 -0700 2009
| link
Thats not a helper. Unless we have a "categories" widget. Get on with Yummy dude!! :-p
YorickPeterse
Wed Jul 15 04:34:08 -0700 2009
| link
I can send you the Yummy library, it's already quite mature.
philsturgeon
Wed Jul 15 04:42:26 -0700 2009
| link
Great. Can Yummy have multiple instances of the same widget?
I am guessing that the navigation module will be pretty much pointless after we make a navigation widget.
YorickPeterse
Wed Jul 15 04:57:28 -0700 2009
| link
Currently Yummy can't run the same widget multiple times. You also shouldn't replace the navigation module with a widgetized version. If you do so the navigation menu will always pop up in the sidebar.
philsturgeon
Wed Jul 15 05:56:37 -0700 2009
| link
We'll need multiple versions of widgets. They will also need to be added to "widget areas" which are basically the same thing as navigation groups.
With a link menu widget there really is no reason for a navigation module as it would do the same thing and make ordering menus within widget areas impossible.
YorickPeterse
Wed Jul 15 06:11:58 -0700 2009
| link
Hm...I'll see if I can add the ability to run the same widget multiple times. I'll also add areas for the widgets.
YorickPeterse
Wed Jul 15 06:33:55 -0700 2009
| link
Widget areas are now supported !
philsturgeon
Wed Jul 15 07:13:56 -0700 2009
| link
Sweet! Hopefully that works with multiple widgets? As I said, we need to be able to put a "menu widget into sidebar", a "menu widget into footer", a "rss into left-nav", etc. They need to be multiple and moveable and go pretty much anywhere.
YorickPeterse
Wed Jul 15 09:56:59 -0700 2009
| link
I sat down for a few minutes and thought about it, and as stupid as I am sometimes I came to the conclusion that widgets can have multiple instances in the same area.
Currently you can't put the same widget into multiple different areas, but I'll add this option tomorrow.
-
Yorick has a sexy new installer in the trunk, lets finish it up and get it tested.
Right now we need to make sure we only have one copy of the database .sql files as they are in both /installer/sql_files AND /database/.
Also, need more error reporting for connection issues, etc.
Comments
YorickPeterse
Wed Jun 10 15:24:34 -0700 2009
| link
See my latest commit :)
philsturgeon
Wed Jun 10 15:40:53 -0700 2009
| link
Nicely done. Also, could you take a look at the Verifier.php class in the libraries folder? It does a few things such as checking for curl, checking PHP versions, etc.
Would be good to make sure that some of these things are handled by the installer instead of lettng a user install then being confused.
Also, it is still hard-erroring on mysql failure.
Bloody good so far though. :-)
philsturgeon
Mon Jun 15 12:15:53 -0700 2009
| link
This ready for testing?
YorickPeterse
Mon Jun 15 12:48:19 -0700 2009
| link
I haven't added any extra features to the installer yet :)
-
Convert all uploaded images with md5 names
1 comment Created 6 months ago by philsturgeonUploaded images with special characters on their names get their name converted, but the original name is inserted in DB
(ex.. Original = Nenúfares.jpg gets renamed to Nenúfares.jpg)Hash them on upload with Image_lib and store the hashed name in the db.
Comment back here with all modules which will be effected so we can test.
Comments
philsturgeon
Thu Jul 02 02:08:57 -0700 2009
| link
Not tested this one. Can somebody confirm it works?
-
Convert all modules to use language files, prefferably in the following order.
News
Pages
Galleries
Settings
Themes
Users (this should be done, I may have missed a bit).To start with I will only use English files. When version v1.0 is released we can simply convert as many as possible in one go before adding too many more features.
Comments
-
Missing this, very important it gets added.
Methods
index - a list of recent comments with pagination, much the same as the rest of the admin. (If they are a user, link their name to the edit user page)
unapproved - a list awaiting approval (If they are a user, link their name to the edit user page)
approve(id) - Approve comment(s) then redirect to main comments page
delete(id) - Delete comment(s) then redirect to main comments page.Settings
comments_auto_approve - Auto-approval of comments, or manual?
comments_enabled - Should we even allow comments on the site?
Comments
-
Really need to get around to this. Allow permissions to be set for a single user.
Comments
YorickPeterse
Sun Sep 06 07:33:38 -0700 2009
| link
What's the status of this issue ?
-
the photo are uploaded in the asset/img/products folder .. but somehow the src tag is pointing to a wrong file name. what’s in product folder is Photo_4_thumb.jpg and the final html code is

Comments
-
For themes and user provided HTML, provide parsing through a templating engine for the built in codeigniter parser.
Keep an eye on results of this poll http://twtpoll.com/f1w72j for which to use, but im leaning towards Template Lite - http://templatelite.sourceforge.net/. It is compatible with the good parts of Smarty and doesnt use quite as much overhead.
Comments
philsturgeon
Thu Jul 02 02:10:02 -0700 2009
| link
I have added HelpfulParser. This will have to do for now and we can improve it as we go.
-
I have made a new uncoupled Asset library which should be implemented to replace the current version.
Comments
philsturgeon
Sun Jun 21 15:14:28 -0700 2009
| link
I'm calling this done, nobody has mentioned any issues with it and it works fine for me on Mac and Ubuntu.
-
Support multiple wrappers in themes so not all pages require the same design. Pages also have a text-box which will allow different wrappers.
Some logic will eventually be added in to check them and on fail, use default, etc but right now I just need it working for a client site.
This issue is mainly to give me an ID number for a branch.
Comments
-
No keywords or description are added to the /news.html page. Meaning any site with news module as default controller has no meta on the homepage!!
Comments
-
Add interface to control social bookmarks
1 comment Created 6 months ago by philsturgeonThis was never meant to be just a static file with bookmark links. It is meant to support custom selections and a range of sizes.
Anyone have suggestions on a good simple interface for this?
Comments
YorickPeterse
Wed Jul 15 09:58:56 -0700 2009
| link
Widgets ? :)
-
Need a dropdown of acceptable wrappers in the Advanced tab for page management.
Show a list of all wrappers in themes/defaulttheme/layouts/*.php and if a page tries to use one that is not in the default theme, default to default.php.
Comments
-
Right now the modules details.xml file has hard-coded english. We need a way to let this support multiple languages.
We have a constant that can be used ANYWHERE across the site called DEFAULT_LANGUAGE which will contain EN, FR, ES, etc. Use this to create multi-lang support for the module names.
Also, if DEFAULT_LANGUAGE does not match any of the module names, it should default to $this->config->item('default_language').
Comments
-
1.) When a non-user writes a comment it is for some reason showing up multiple times. On dev.pyrocms.com it is showing up twice but on philsturgeon.co.uk they seem to show 5 times. Let's simplify the comments_m.php getComments() and use AR, hopefully fixing the bug at the same time.
2.) Need to show "Comment has been X" flash data messages for add, approve and delete, and add the language to english AND spanish. Add as spanish for now then keep a list on the wiki of new lang items that need translation.
BenneX could you solve this before you work on pyrocms.com?
Comments
philsturgeon
Tue Jul 14 09:34:47 -0700 2009
| link
1.) has been done. Will do 2 another time.
-
We need some poor soul to go through the jQuery code and wrap it in no conflict code. This is generally done like this:
function($){ // existing jQuery code unchanges!! }(jQuery);Also possibly related is the following error.
Error on line 93 character 4 which is - here:
+ "-blockquote,-table[border=0|cellspacing|cellpadding|width|frame|rules|"Only shows in IE7.
Comments
philsturgeon
Tue Jul 14 15:43:25 -0700 2009
| link
jQuery UI Tabs and Facebox hate each other when viewed in IE7 but it just happens to be a TinyMCE line they complain about. Comment out facebox and jQuery UI works fine.
I have to ask if anybody really cares. I will not waste a second of my day supporting IE6 but IE7 might be an idea...
YorickPeterse
Wed Jul 15 04:54:41 -0700 2009
| link
-
There is an error in the ‘Navigation’ module for when deleting a navlink, the error that comes up is
Fatal error: Call to undefined function line() in /http/rayherring.net/pharmacy/application/modules/navigation/controllers/admin.php on line 156I have tried it by just deleting a single link, and also putting a tick in one of the checkboxes and clicking the global delete button and both come up with that error.
Comments
I've pushed a branch named "issue_36" with the fixed file, which just need to be merged into master.
There was a little syntax error, which also can be fixed manually.
Just open the following file:pyrocms/application/modules/navigation/controllers/admin.php
and go to line number 156 or search for the following code snippet:
$this->session->set_flashdata('success', $this->lang-line('nav_link_delete_success'));and replace it with the following code:
$this->session->set_flashdata('success', $this->lang->line('nav_link_delete_success'));BenneX
-
So far, the widgets we need are:
- RSS feeds
- Links/Menu
- Social bookmarking
- News by Category
- News Archive
- Recent News
- Twitter timeline
- Twitter tag results
Comments
YorickPeterse
Fri Jul 24 04:44:16 -0700 2009
| link
So far the only thing that needs to be fixed is the stupid bug that prevents a widget from being executed twice, and god knows why it isn't working.
YorickPeterse
Fri Jul 24 13:24:24 -0700 2009
| link
The widgets library has been added. The next step is to integrate it into the system.
YorickPeterse
Mon Jul 27 10:00:49 -0700 2009
| link
Quick question, why can't I extend the default controller or MY_Controller ? This is required by the library, but whenever I do so I get the following error : http://i29.tinypic.com/2z3nqwy.png
Oh and by the way, where do you want me to load the library ? Right now I'm loading it at the top of the PyroCMS template (which is really, really stupid).
philsturgeon
Mon Jul 27 15:36:57 -0700 2009
| link
Autoload? It will be used on all pages so seems fair enough.
Not sure about the loading issue. Include the widgets class in MY_Controller?
YorickPeterse
Mon Jul 27 15:45:59 -0700 2009
| link
Hm, didn't thought about that :P
Not sure about the loading issue. Include the widgets class in MY_Controller?
I can't make it extend the Controller class or the MY_Controller class for some reason. Embedding it into the MY_Controller class would be rather dumb.
philsturgeon
Mon Jul 27 15:52:22 -0700 2009
| link
We already do this for Public_controller and Admin_Controller:
include(APPPATH . 'libraries/Public_Controller'.EXT); include(APPPATH . 'libraries/Admin_Controller'.EXT);
YorickPeterse
Tue Jul 28 04:02:24 -0700 2009
| link
So you want me to extend the Public Controller instead of MY_Controller ?
YorickPeterse
Tue Jul 28 04:34:40 -0700 2009
| link
Fixed the problem using the get_instance() stuff. Not really fond of it, but it works.
philsturgeon
Tue Jul 28 07:17:45 -0700 2009
| link
get_instance is a good way of doing it. More logical and less hacky that my suggested method. :-)
YorickPeterse
Tue Jul 28 08:08:28 -0700 2009
| link
Isn't there another way, besides the one you suggested or my solution ? I'm not really fond of having to use $this->CI->load->model and stuff like that. $this->load->... is much cleaner :)
philsturgeon
Tue Jul 28 08:19:46 -0700 2009
| link
I'd say this is the best way to go. This is how all of my libraries do it. Makes much more sense that extending controller.
YorickPeterse
Tue Jul 28 08:22:15 -0700 2009
| link
Hm..I'll just leave it as it is :)
YorickPeterse
Tue Jul 28 08:56:13 -0700 2009
| link
So the News Widget is finished, but the other ones aren't very clear to me.
RSS Widget
Internal or external RSS feeds ?
Twitter Stuff
How the hell do I use the Twitter model ? It doesn't make any sense :P
Links Menu
Use result_array() rather than result(), that way you'll get rid of the Std Classes. Other than that, is it possible to fetch the link groups using the name, rather than the ID ?
YorickPeterse
Fri Aug 21 07:17:29 -0700 2009
| link
Currently the following widgets have been created :
Feeds (RSS and Atom)
Enables the user to display external RSS or Atom feeds. The feeds are parsed using SimplePie
Navigation menu
Shows the navigation elements for a certain navigation group (e.g. Sidebar)
Recent News
Shows a list of recent news articles.
philsturgeon
Fri Aug 21 09:41:36 -0700 2009
| link
Why use simplepie when we can just use built in SimpleXML?
Anyhow before making too many new widgets we need to worry about sorting out the db structure so we can have multiple widgets of the same type.
YorickPeterse
Fri Aug 21 11:58:47 -0700 2009
| link
Because it's MUCH easier to use SimplePie instead of writing my own parser.
Anyhow before making too many new widgets we need to worry about sorting out the db structure so we can have multiple widgets of the same type.
I double checked the database and adding the the same widget multiple times works perfect, the only thing that needs some minor modifications is the library in order to make this work properly.
philsturgeon
Fri Aug 21 12:20:26 -0700 2009
| link
Version 1.2. 1.2 MB zip file
That is why it's better. Thats like fishing with hand grenades dude!
YorickPeterse
Fri Aug 21 13:29:59 -0700 2009
| link
So you are basing your arguements on the file size of a zip package. Did you bother looking at the contents ? The actual library is just 380 KB (of which about 50% consists out of comments).
Seriosuly, don't base arguements on file sizes...
philsturgeon
Fri Aug 21 14:38:38 -0700 2009
| link
Still, RSS parse with simple xml is 20 lines of code. whats the point?
YorickPeterse
Sat Aug 22 05:25:20 -0700 2009
| link
Because then you'll only be able to parse RSS, whereas SimplePie can also parse ATOM. I don't really see the problem, it works perfectly.
philsturgeon
Mon Aug 24 01:10:09 -0700 2009
| link
I assume .spc files are SimplePie Cache? You need to configure the library to store ALL cache in the main cache folder, NOT application/widgets/feeds/cache/*.spc
We don't need ANOTHER cache folder, just the one please.
YorickPeterse
Wed Aug 26 14:13:12 -0700 2009
| link
This issue can be closed since all the widgets are created. The only thing left to do is to make a backend module and we're done :)
-
You need to add in the rest of the language files for the modules, and you need to add in tags for the name and descriptions of modules.
Then we have it supporting three languages!
Warning though, I just modified the language.php config file to have a multi-dim array. Rename Dutch to whatever the Dutch call Dutch. Whatever that may be. :-)
Comments
YorickPeterse
Sat Jul 25 14:42:39 -0700 2009
| link
It's "Nederlands" in Holland :)
philsturgeon
Tue Jul 28 01:16:54 -0700 2009
| link
Hows this language coming along? I have changed the name and added the flag, all we need now is the extra files to be translated, and PyroCMS will support three languages! :D
-
Allow users to upload Files. This should be configurable to allow certain file types and should not cross over with photo gallery etc.
Perhaps it could allow multiple upload forms? For example, the uploads/foo could remap the controller and load entry in the upload_forms database that allows doc files, while uploads/bar would remap to a different upload system.
The admin page should show a list of upload forms, with a "view files" link.
Files should be approved or deleted, and all uploads should have their filenames md5'ed.
Comments
-
1.) Right, we need to move news, pages and comments over to application/core_modules so we can start replying on those modules always existing.
2.) Then start hard-coding the dashboard to show server information, news details, number of pages, number of comments (approved and unapproved, with links to both), etc.
3.) Could also do with a news RSS feed. It should by default be http://pyrocms.com/news/rss/all.rss even though right now that is empty. Use SimplePie to do this, which should exist in the widgets branch for now.
4.) Create a "modules" module in core_modules which for now will just show what the current default page shows. A list of modules with basic information. Move application/models/modules_m.php there and make sure wherever it is loaded is pointed to the new location.
This module will eventually become a whole lot more and end up being the "app store" type module.
No small job! Who wants it?
Comments
YorickPeterse
Fri Aug 21 05:04:27 -0700 2009
| link
When loading the dashboard you would fetch these results and store them in a variable (and output it). I think it's best to only do this for the default modules. If you would do this for every module the dashboard would probably become very slow.
For instance, you could use the following :
Model function (from my guestbook) : http://pastebin.org/10849
View file (also from the guestbook) : http://pastebin.org/10850
YorickPeterse
Sun Sep 06 09:04:56 -0700 2009
| link
Pretty much fixed in this commit, though the dashboard message needs to be changed (and translated) : http://github.com/philsturgeon/pyrocms/commit/bfd50f7a98542bf55ed3dd51f269ead864fe8b17
Current features
- Comment stats (all,approved and pending)
- General stats (pages,users and news articles)
To do :
- The RSS stuff
- The server data
YorickPeterse
Sun Sep 06 10:37:18 -0700 2009
| link
RSS support has been added in this commit : http://github.com/philsturgeon/pyrocms/commit/e329670aa0614d3c816a960d711308a33f436774
philsturgeon
Mon Sep 07 09:38:05 -0700 2009
| link
Sorry Ignited this was meant to be for you.
I have so far only checked the code looking at the commits and so far it needs lots of improvement in the quality of the coding. This needs to be using lang files and there are a few other comments on your commits.
PLEASE do not randomly assign yourself issues and commit half finished work to the master without running it by myself.
YorickPeterse
Mon Sep 07 10:03:42 -0700 2009
| link
I wouldn't do it if people would do their homework. I'm not going to work on a project where most of the project members do jack shit.
philsturgeon
Mon Sep 07 11:32:47 -0700 2009
| link
They do what they can when they can. I am looking into ways to improve communication but its not the point. If you want to work on a new issue talk to me about it so we can plan how its going to be done. I REALLY dont want work that I have no idea about being thrown into the master.
If random work was thrown into branches... thats a different matter! :)
-
I started off a thread on this one here but it is not going very well so far:
http://codeigniter.com/forums/viewthread/125429/
neph’s Forum system
Details: http://codeigniter.com/wiki/Forum_written_with_CodeIgniter/
Demo: http://it.fr.am/forums/
I contacted neph about this forum and he said he was looking into PyroCMS integration but he never got back to me and that’s been over a month.
Beast
Details: http://codeigniter.com/forums/viewthread/113609/
Demo: http://lowstring.com/forum/
This seems to have died a death and is no longer being developed (as far as I can tell). It looks very easy to integrate but I feel I would end up being the only one maintaining the code.
Home-brew
Or, do we go with my own? We would have full control over the code and not have to worry about it, but should we really charge PyroCMS with the challenge of maintaining a full forum system too?
We can probably keep it clean and low in features, but I would find myself getting carried away and converting my old private messages, friends, etc modules.
It would also mean we can plan features on pyrocms.com in a discussion board instead of comment-spamming these issues.
Feedback please.
Comments
YorickPeterse
Fri Aug 21 03:23:44 -0700 2009
| link
Home brew ! The taste of home made cookies is always better than buying it in the local bakery store :)
philsturgeon
Thu Aug 27 07:02:23 -0700 2009
| link
Ok screw it we're going to go with mine. It currently allows view forums, view topics, new topic and is almost working with new replies. Then its just "Edit topic", "Quote" and the moderator tools and its ready to go.
jamierumbelow
Sun Aug 30 16:59:47 -0700 2009
| link
On overloading it with features:
Surely Pyro's gonna need a private messaging system anyway? I'm sure a lot of the additional forum functionality can be abstracted into separate modules and used across the system. That way the forum module itself is kept relatively clean.
philsturgeon
Mon Aug 31 03:34:53 -0700 2009
| link
Private messaging and friends etc are already seperate modules I have used in other projects. When I mentioned this I was worried that if we start down a community path then I will end up cnverting the lot (as seperate modules) and will start moving away from the current core-purpose of PyroCMS: "Creating simple sites for personal and corporate use".
I have got a little bored of converting the forums module, but will find the motivation to finish it sometime I'm sure. :-)
-
The comment admin system needs to show what is being commented on. Provide the module and the id number.
Need to start thinking about how to provide a link...
Comments
You mean displaying of active and inactive comments for each module which uses the comment-module? I've started so think about that while scripting the backend-part. The problem was that the easiest way to solve this solution to use url-params. But I wasn't abled to parse url's like this: admin/comments/module_name/edit e. g. to differentiate between the modules... If you could give me a solution of this, I can extend the comments-admin for that issue ;) I just need to be allowed parse url's with the special syntax: admin/comments_module/module_which_use_comments/action
Anyway I just need the possibility to get the module_name for which the comments should be displayed. I'll have a look at this one again. Some basics still exists ^^
BenneX
philsturgeon
Sun Aug 09 23:26:45 -0700 2009
| link
I think we need to have a serious think about how to create links to modules from the UI anyway.
If we have a "item table" which had, module, uri, id/slug and then we created an id for that, we could use that link_id everywhere.
Basically the link_id wouldnt exist until somebody tried to use it. then it would be added to the database.
This could be VERY handy for creating links to photos, news articles, suppliers, etc because all we'd need to know is the name of the module, the URI it is using and the ID number of the object and it would work.
That would also mean that we can have multiple "things" to link to for a single module.
With me on this? Guys, opinions would be great.
jamierumbelow
Mon Aug 31 03:37:46 -0700 2009
| link
Step back.
We're using a polymorphic association for comments, so everything that is commentable can be commented on, from a central "Comment" model, right?
Why can't we assign a "resource_name" to the module (so the Articles module would have an Article resource, or the Categories module have a Category). Then we just display that along with the ID?
philsturgeon
Mon Aug 31 03:42:58 -0700 2009
| link
Thats kinda what im getting at, just struggling on the details. We can give something a "resource_name" and assign that resource a URI structure and some DB joining details, but not sure exactly how. Got code blindness over this one so need some fresh eyes on it.
philsturgeon
Mon Aug 31 03:58:35 -0700 2009
| link
The reason it seems like I am overcomplicating things is for the simple reason of this is quite complicated and started a discussion on a bigger problem.
Problem 1) We have no way to know what the URL is of a commented item. The CMS used to store the URI string in the database as unique but this is no good when commenting on news as the URI slug can change.
Problem 2): It assumes that only one kind of comentable "thing" exists for each module. This wont be true in some more advanced cases.
Problem 3) (the bigger thing): We need some sort of structure for the entire system. This is what I am talking about when I say "things". If everything has shared meta-structure then we can build tree's, set permissions, create navigation, breadcrumbs, etc all very easily. Right now with all modules acting entirely on their own there is no way to create a user friendly system for any of these aspects, AND keep it modular.
We can discuss point 3 separatly, but it would drastically change how we handle this issue in general.
YorickPeterse
Wed Sep 02 08:47:07 -0700 2009
| link
I tweeted an idea to phil several days ago, but it seems he missed it, therefore I'm showing it here :P
If we want to link everything together (or atleast give the possibility of doing this), the only thing you would need to know is the table and the ID of the row. Simply creating a parent field with the following structure : %TABLENAME%_%ID%. For instance, a comment could have the following in it's parent field : pages_2. This would refer to the page with ID number 2.
philsturgeon
Wed Sep 02 09:02:49 -0700 2009
| link
As I said, not all modules will only have one "thing" so this approach is no good. Also, how would you join using that? There is no advantage to that approach over having a hash/unique key with various fields stored for each row.
I still cant even think how to begin this one.
YorickPeterse
Fri Sep 04 03:30:23 -0700 2009
| link
Seperate them with a comma. Joining is simple since you can create the syntax for the query based on the format.
<?php $parent = $this->some_model->get_parent(); // Get the parent(s) of the current item. In this case it will return page_1 // Get the stuff for the syntax $array = split('_',$parent); $table = $array[0]; $id = $array[1]; // Do something with the database $this->db->query("SELECT * FROM $table WHERE id=$id"); ?>
YorickPeterse
Fri Sep 04 03:31:27 -0700 2009
| link
Seperate them with a comma. Joining is simple since you can create the syntax for the query based on the format.
<?php $parent = $this->some_model->get_parent(); // Get the parent(s) of the current item. In this case it will return page_1 // Get the stuff for the syntax $array = split('_',$parent); $table = $array[0]; $id = $array[1]; // Do something with the database $this->db->query("SELECT * FROM $table WHERE id=$id"); ?> -
http://tinymce.moxiecode.com/download_i18n.php
Grab Dutch, Spanish, French and German as they are on their way. The rest can come later as we have more confirmed language packs.
They seem to match the ISO 2-code set so we can just pass DEFAULT_LANGUAGE to TinyMCE in the config.
Comments
philsturgeon
Tue Aug 11 15:34:20 -0700 2009
| link
Done!
-
Support a very useful movement.
Add this along with a settings option to enable/disable it. Default should be disabled.
Comments
philsturgeon
Mon Aug 10 05:29:43 -0700 2009
| link
Should this be applied at a "Themes" level?
philsturgeon
Tue Aug 11 15:34:33 -0700 2009
| link
Balls to that idea.
-
Fed up of manually formatting code, use this kickass plugin to get code formatted nicely.
Demo: http://www.mostasharok.net/Example_3.x/index.html
Download: http://sourceforge.net/tracker/?func=detail&aid=1939951&group_id=103281&atid=738747Comments
YorickPeterse
Fri Aug 21 03:35:59 -0700 2009
| link
Looks pretty neat :)
-
Admins should not have to approve comments by other admins, that is just silly.
Comments
philsturgeon
Fri Aug 14 11:01:48 -0700 2009
| link
Done.
-
Previously, we used a system that would insert pages in any selected language. These pages would then only show to users viewing in that language (which would often be automatically set by the browser).
This automatic content fetching meant if English and Spanish were supoprted languages (right now no others are) and the system was installed, the home page would show for English users but not for Spanish.
Also, if a Spanish page was added, it would have to be added again with the same slug in English for English speaking users to see the page.
How can we make the page manager multi-lingual?
Comments
YorickPeterse
Fri Aug 21 03:29:12 -0700 2009
| link
Pfff....Weren't the languages based on the URL or something like that ? If so you could simply redirect to the English version.
philsturgeon
Fri Aug 21 04:05:47 -0700 2009
| link
Issue being, the code says if a page & language dont match, the page doesnt exist for you.
That is the fundamental logic and pages are listed with language next to them. They only happen to share a slug, but they are separate enteties.
Should we perhaps make them simply "a Page" with multiple content boxes for different languages? Then just say "[checkbox] Spanish is the same as English" to hide the input box for spanish, so it shares the English content, etc?
This could get confusing.
YorickPeterse
Fri Aug 21 04:35:44 -0700 2009
| link
Multiple content boxes for different languages isn't going to work when you have many different languages.
-
Show the list of files to manually CHMOD on the installer itself. Nobody is reading INSTALL.
also, fix the error “The dummy data could not be inserted, please verify your settings.”
Comments
YorickPeterse
Fri Aug 21 03:12:32 -0700 2009
| link
People are stupid, the file is in there so read it. Anyways, I'll add that list.
also, fix the error “The dummy data could not be inserted, please verify your settings.”
That error should only pop up whenever the tables don't exist for some reason, but I'll verify it.
YorickPeterse
Fri Aug 21 04:28:28 -0700 2009
| link
Issue fixed in this commit : http://github.com/philsturgeon/pyrocms/commit/799f0ba6c51444fe66e84a90a57a597691e85d22
philsturgeon
Sun Aug 23 09:06:13 -0700 2009
| link
Much better. I had to make a change to allow soft error handling for GD if it is missing but now the server information is very handy.
For the installer to be complete, we need to make it into a step-by-step system.
Step 1, show you the server information.
Step 2, tell you to permission your files
Step 3, take information from the user,
Step 4, tell them to re-permission the config files back, and give them a link.The dashboard should be available via a link from all steps, along with a "Skip", "Next" and "Back" on appropriate pages.
YorickPeterse
Sun Aug 23 11:46:34 -0700 2009
| link
I'm actually thinking of recreating the entire installer from scratch using CodeIgniter, it's too messy at the moment.
philsturgeon
Sun Aug 23 12:45:18 -0700 2009
| link
It's fine as it is if you just get it running step -by-step. even a barebones new application would be overkill for this.
Just get it running in steps and we're fine. :-)
YorickPeterse
Wed Aug 26 03:54:47 -0700 2009
| link
No, I've decided to completely recreate the installer. It's way too messy right now. On top of that I want to add an option that lets users update their database without messing around in phpMyAdmin.
philsturgeon
Wed Aug 26 04:41:18 -0700 2009
| link
We really should not add any scaffolding or anything similar. Please keep the installer to its absolute basics, and we can create a "PyroCMS Pen-knife" which will contain random utilities that exist outside of the main installation at a later date, if it is required.
I would like a working full installer as soon as possible as I am getting multiple complaints each day from users having trouble with it. Some are actual errors, some are lack of understanding as the installation is not clear enough.
Making this work in steps is a good quick solution for v0.9.7 and you can re-code it in time for v1.0.
Sound fair?
YorickPeterse
Wed Aug 26 09:53:34 -0700 2009
| link
Already started recoding it earlier today, spent the last 6 hours working on it. Currently in the process of finishing the last step. :]
philsturgeon
Wed Aug 26 15:14:38 -0700 2009
| link
I know you have been working on this all day but I had to do quite a bit of work before the public could be let near it.
Firstly, why did you include a 2nd installation of CodeIgniter?! And why did you have some crazy modular system in there? If it needed modules, use the same one as the rest of the site?
Also you forgot to remove the tabs for Upgrade and Maintenance so those have been replaced with step 1, step 2 and step 3.
The main page still had the upgrade and maintenance headers and text on it too, lol!
Finally, anyone without GD would not be able to install PyroCMS. I dont have GD!! I added a message to say "you match most of the requirements, continue if you dont mind shit being messed up" or something along those lines.
The main thing is we got there! This is now a VERY cool installer, thanks very much for the work on this dude.
Any you know what this means? We can have a multi-lingual installer now! :D
YorickPeterse
Wed Aug 26 15:37:27 -0700 2009
| link
Dude seriously, cry me a river. The "crazy modular system" is the HMVC, and is almost identical to Matchbox. The tabs and all the other stuff have been changed in a new commit, so check that first before replying.
Finally, anyone without GD would not be able to install PyroCMS. I dont have GD!! I added a message to say "you match most of the requirements, continue if you dont mind shit being messed up" or something along those lines.
Finally, anyone without GD would not be able to install PyroCMS. I dont have GD!! I added a message to say "you match most of the requirements, continue if you dont mind shit being messed up" or something along those lines
It only retrieves the version. If it isn't installed it will tell you. I don't see the problem of this. I've listed some reasons for moving the installer to CI below :
- Much easier to manage
- Multi lingual
- Cleaner code. The original installer was horrible and made me sick every time I took a look at it.
philsturgeon
Wed Aug 26 15:49:58 -0700 2009
| link
Moving to CI was brilliant, but you havent explained why we had to have a second copy of CodeIgniter in the codebase. We can use the same one...
The main issue with GD was that it would physically stop people from progressing through the installer. I do not have GD and it was creating a session variable that would not allow me to progress. This has been modified.
HMVC seems pretty fecking nuts after looking at the code. It has CI_BASE extentions in the Controller library and all sorts of crazy shit. Matchbox would have been a better choice to keep things working in the same way, but ofc we dont need any modular system now.
I am just adding a few more changes and you can see what I am talking about. A "Complete!" page was required too.
YorickPeterse
Thu Aug 27 04:57:33 -0700 2009
| link
The GD library is something that should be required since the galleries and the staff module depend on it (or is it using something else ?) If you don't have it you should install it, instead of modifying the installer.
philsturgeon
Thu Aug 27 06:42:48 -0700 2009
| link
GD library is not required in the same was a PHP or MySQL because it will work at a basic level without it. If I turn off captchas and dont actually use products, staff or gallery then I will be fine without it.
Remember we are trying to support as many people and as many environments as possible, at varying ranges of technical ability. Everything has to work for everyone, unless they are using IE6 :-p
YorickPeterse
Thu Aug 27 06:59:06 -0700 2009
| link
Ah ok. The installer will show the following message whenever the server doesn't passes the validation process for a full 100% :
Your server meets most of the requirements for PyroCMS to run properly. This means that PyroCMS should be able to run properly but there is a change that you will experience problems. In most cases this this is being caused by not having the GD library installed.
philsturgeon
Thu Aug 27 07:24:55 -0700 2009
| link
I already had a message in for that, but that is fine when you have fixed the change/chance typ0. Lets write new issues for new problems on this one.
YorickPeterse
Thu Aug 27 07:33:49 -0700 2009
| link
Didn't notice that typo, I'll fix it later today.
-
The default frontend theme needs to be finished off and set as default in the settings table on install.
The current default theme is utterly disgusting and boring, please sort this as soon as possible as I have already seen feedback online that people have not used it for this reason.
Comments
YorickPeterse
Thu Aug 27 07:07:43 -0700 2009
| link
Currently taking a hone hour break because I had enough of coding for more than 16 hours in total (over the past 2 days). I'll scrap the current template (again) and make one based on the installer :)
philsturgeon
Thu Aug 27 07:28:51 -0700 2009
| link
I thought you needed to finish widget work first? I suppose if its only backend left then that is enough to get going on templates again right?
We can leave the widget backend to someone else. You have already bitten off more than you have time for by the sound of it. :-)
YorickPeterse
Thu Aug 27 07:34:08 -0700 2009
| link
The frontend needed to be finished, which is pretty much done for now.
jamierumbelow
Sun Aug 30 17:28:24 -0700 2009
| link
If you don't mind me commenting, I don't think any of the current templates (installer, default and admin) are particularly great.
It all needs to be consistent, cool and stylish. We can get away with something simplistic, because it makes it a lot easier to do for us and makes it a lot nicer for the end-user. I'll have a go at writing up a simple stylesheet and some nice valid XHTML for the installer, just as a test to see what you guys think.
YorickPeterse
Mon Aug 31 00:03:27 -0700 2009
| link
In the end the idea was to make the same template for everything (or atleast make it look the same). The current default template does look like shit and is being replaced with a template based on the installer.
philsturgeon
Mon Aug 31 03:30:38 -0700 2009
| link
This one can be solved the old fashioned way, a theme-off! :-D
If you are both working on one anyway, we can see which is better and make that the default, the other can just be a cool extra theme to be included in the release. Would be good to have a few in the core codebase as varied examples of what we can do.
-
Right now, a default user is installed into the database. We need to insert one for them based on a form.
The user should pick an email, password and... any other required data and the system needs to pick a random salt and set them as an active admin.
Comments
-
Migrate Validation class to Form Validation
0 comments Created 4 months ago by philsturgeonWe are still using the Validation class throughout the entire system. We need to modify this to use the Form Validation class, and start using set_value() to replace some of the more complex code in the admin forms.
Comments
-
The comments currently look like SHIT.
Instead of left/right alignment have the comment box below a list of comments, and paginate the results to show the last 10 comments. The number of comments should be a new setting.
Also, all comments should use gravatar (find a plugin on the CI site) to look for an avatar for the user. PyroCMS will not ever have any sort of "Upload an avatar" function, nobody needs ANOTHER place to manage their display pictures.
Comments
YorickPeterse
Sat Aug 29 09:23:36 -0700 2009
| link
You don't need a plugin for gravatars :)
philsturgeon
Sun Aug 30 05:31:21 -0700 2009
| link
Of course you do. You should NEVER refference a third-party website in your codebase unless it is wrapped in a function.
http://codeigniter.com/wiki/Gravatars/
Something like that, but renamed to avatar() would be fine. That way we can switch to any proivder down the line.
jamierumbelow
Sun Aug 30 16:55:23 -0700 2009
| link
No you don't. Just chuck it in a helper. Plugins should only be used when you have additional resources. Getting a gravatar only requires the building of a URL, and an email being passed to it.
philsturgeon
Mon Aug 31 03:28:07 -0700 2009
| link
The wiki article I linked to was actually a helper, but if you check the manual for plugins:
Plugins work almost identically to Helpers. The main difference is that a plugin usually provides a single function, whereas a Helper is usually a collection of functions. Helpers are also considered a part of the core system; plugins are intended to be created and shared by our community.It is a simple feature, just wrap it somehow, dont care which.
-
I get the following:
A PHP Error was encountered
Severity: Warning
Message: mysql_get_server_info(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock)
Filename: models/installer_m.php
Line Number: 71
A PHP Error was encounteredSeverity: Warning
Message: mysql_get_server_info(): No such file or directory
Filename: models/installer_m.php
Line Number: 71
A PHP Error was encounteredSeverity: Warning
Message: mysql_get_server_info(): A link to the server could not be established
Filename: models/installer_m.php
Line Number: 71
After entering the Database Data in Step 1#
Using PHP 5.3, a custom Mysql Install in usr/local/mysql Version 5.1.39Comments
philsturgeon
Mon Dec 21 02:04:55 -0800 2009
| link
Still having this problem in PyroCMS v0.9.7.3?
hanneskaeufler
Mon Dec 21 03:54:58 -0800 2009
| link
Yes, still showing the same errors.
The Info I get is:HTTP Server Settings
Your server software Apache (/w mod_rewrite) is supported.
PHP SettingsPyroCMS requires PHP version 5.0 or higher. Your server is currently running version 5.3.0, which is supported by PyroCMS.
MySQL SettingsPyroCMS requires access to a MySQL database running version 5.0 or higher. Your server is currently running a version which could not be retrieved and the client library version is mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $.
GD SettingsPyroCMS requires access to the GD image library for several tasks, such as resizing images, but it is not installed.
You are currently running version 2.0.34 of the GD image library.
-
Web installer goes to a white screen of death on step 2. Manual install (by installer/sql/1-tables.sql) produces this error:
ERROR 1050 (42S01) at line 322: Table 'asset' already exists
I looked at the script and it does indeed attempt to create the asset table twice.
Comments
jeffreymcmanus
Sun Nov 08 11:14:46 -0800 2009
| link
It looks like this script is trying to create the asset_folder table twice as well.
i did also have almost the same problem
mine were 2 tables: asset and asset_folder
i removed the double create table (both underneath create table user)also i recall there were couple of tables missing their fields or settings
for example:
- inside create table settings: missing set('password') on field type - table navigation_links missing field targetif you guys know more of this mistakes, please share them with us too
thanks for this great ci cms
one more problem
on mac, using mamp, i can install this cms almost smoothly
but when i try to install pyrocms on windows, using wamp
after step 4, it just stop and got back to step 4 again
asking me to insert database name, etc
please help me out
philsturgeon
Mon Nov 09 06:24:53 -0800 2009
| link
Can we stick to one bug per issue please? Hard to track otherwise.
All of these bugs have been solved in the bleeding edge (current codebase) and some are fixed in v0.9.7.1 (mainly installer issues with step 4).
Thanks for pointing them out, enjoy Pyro!
-
I am a PHP programmer with 8 years experience but new to CI and installed PyroCMS Version: 0.9.7.2 at home on Wampserver (Apache 2.2/php 5.2.11) with no errors in http:\localhost\pyrocms
But:
1.- Accesing http:\localhost\pyrocms:
An Error Was Encountered Unable to load the requested language file: language/newsletter_lang.php
2.-Accesing http:\localhost\pyrocms\index.php\admin (login)
The template/theme seems to load ok and the login works, but there are visible tags not closed or mixed (template bad procesed?)
3.-Accesing http:\localhost\pyrocms\index.php\admin (after login)
It's all a mess.
The template/theme seems that is not working.
If I see the source code, THERE IS NO HEADER OR BODY tags, so I think it's an issue with the location of the dirs.
The source code of the page starts with:
< /div> < div id="content"> < !-- Inner Content --> < div id="innerContent"> < !-- < div id="confirm" class="hidden"> < a href='#' title='Close' class='modalCloseX simplemodal-close'>x< /a> < div class='confirm-header'>< span>Confirmar< /span>< /div> < div class="confirm-message">< /div> < div class='confirm-buttons'> < div class='no simplemodal-close'>No< /div>< div class='yes'>Sí< /div> < /div> < div class="clear-both bBottom">< div>< /div>< /div> < /div> --> ... < strong>Welcome to the Un-named Website Control Panel. Using the links above and to the left you can control almost every aspect of your website. If you happen to have any problems with the system, please submit your issue to our bugtracker.< /strong> ...
Hope to fix this!
Cheers, ^_^
Comments
philsturgeon
Mon Nov 30 00:32:43 -0800 2009
| link
This looks like you have a slightly out-dated copy of v0.9.7.2, or i need to push v0.9.7.3 more than I realized. Can you please download the current bleeding edge (hit source, the click download) and you should see v0.9.7.3-dev in application/config/constants.php, or at the bottom of admin panel.
This should take care of both of those bugs.
philsturgeon
Mon Nov 30 00:34:09 -0800 2009
| link
To explain, the main reason for the bunged up looking templates its because the v0.9.7.x branch uses short tags in the view files. I v0.9.7.3-dev enables short-tag rewriting in CodeIgniter config which fixes this issue, and v0.9.8-dev hjas had all short tags removed and replaced with full PHP tags.
Yes, after changing the constants.php file, all seems to work ok...
Well, not all... logout from control panel does not work (http://localhost/pyrocms/admin/logout) -it does nothing-, but logout from public zone works (http://localhost/pyrocms/users/logout)
But HEY, I can see it all now, and it is impressing me VERY much!!!
-
Error in form
If I do not upload a file in suppliers instead of a nice form validation error and reloading of the page, the codeigniter fails with
An Error Was Encountered You did not select a file to upload.
Comments
-
Using PyroCMS on Windows, with Wampserver, doesn't work. It seems that none of the shorttags are rewritten. This is the generated output : http://pastie.org/508369
I'm almost 100% sure this is being caused by those shorttags, as default CodeIgniter errors do work.
Comments
YorickPeterse
Wed Jul 15 05:11:16 -0700 2009
| link
I did another test today, and the problem is still there. I get the following output : http://pastie.org/546691
YorickPeterse
Wed Jul 15 05:17:53 -0700 2009
| link
Enabling short tags fixed it, however I'd say it's best to not use Shorttags at all.
-
Simply said, we need to get rid of the one we have now and make our own. I would be able to do that, but I would have to now how the template for the PyroCMS website is going to look like so I can base the admin template and the default template on it.
Comments
philsturgeon
Thu Jul 16 10:34:11 -0700 2009
| link
Why the devil do we need to do that? I have spoken to the guy that owns this template and no only does he approve of us using it, but he has even made us a design for the pyrocms.com frontend!
I really think our time would be spent better working on features instead of re-skinning the backend.
YorickPeterse
Thu Jul 16 10:42:40 -0700 2009
| link
It's your call, but I would still love to see an example of the template so I can use it as inspiration for the default template.
Well, I don't really like the backend theme, too... The first thing I'll do after the release is to rebuilt it. It doesn't look really nice and seems to have bugs, problems with crossbrownsing and isn't valid as far as I've seen =P Should be a topic, but first we should keep on the way to release 1.0 ;)
YorickPeterse
Thu Jul 23 03:47:34 -0700 2009
| link
Agree with that. It's not only because it isn't valid and stuff, but using a ready made template for a backend is kinda lame really.
philsturgeon
Fri Jul 24 00:57:05 -0700 2009
| link
Lets try and fix the validity bugs and we can work on a sweet custom one when 1.0 is out. I realise this CMS is slightly fucked in IE7 and VERY fucked in IE6 but... I dont really care lol.
YorickPeterse
Fri Jul 24 04:42:07 -0700 2009
| link
We shouldn't give a fuck about IE6, it's 8 years old and I couldn't care less about those complaining the site isn't working in IE6.
-
We've discussed this before, but in my opinion we still need an improved templating system, the current one is just horrible. It forces users to work with a certain structure, the markup is messy and there's no way to customize it other than editing the core files that might change with new versions.
Meet the new template system. It only requires about 6 lines of code. An example of how it could be implemented can be seen here : http://pastie.org/550416
I've also created a nice little image that explains the idea in a graphical way : http://www.yorickpeterse.com/images/diagrams/pyrocms/template_system.png
Comments
philsturgeon
Sat Jul 25 10:29:03 -0700 2009
| link
- What is the something and something_else class names all about?
- What does module_function method do?
- Where is this called?
Why dont we just extend layout library to check for view files within the theme folder that match the filepath?
if(file_exists( theme/current/views/modules/news/views/index.php )) { whoop, use the new one } else { use the old one }I thought we decided we would just strip out the float-left float-right rubbish and leave modules to be styled with module specific CSS which could be overridden by theme CSS with !important;
YorickPeterse
Sat Jul 25 14:31:44 -0700 2009
| link
It's just a bunch of example names.
I thought we decided we would just strip out the float-left float-right rubbish and leave modules to be styled with module specific CSS which could be overridden by theme CSS with !important;
We didn't actually. On top of that that idea is just plain stupid since you would still be limited to the HTML structure, and there's no way of changing it other than modifying core system files. Simply said : A big no-no.
YorickPeterse
Sun Jul 26 02:19:36 -0700 2009
| link
For instance. Say a user wants to have the date of a news article showing up at the bottom, without having to modify the module view files or adding really stupid CSS rules. That's simply not possible with the current system, but it will be with the new one.
YorickPeterse
Thu Aug 27 09:09:03 -0700 2009
| link
Considering we now have this I'm closing this issue :)
-
If you click on a navigation button in the backend, say the settings button, it will navigate to the following URL :
http://localhost/Big_Projects/pyrocms/admin/settings#http://localhost/Big_Projects/pyrocms/admin/settings
Instead of going to this URL :
Comments
philsturgeon
Thu Aug 06 03:15:59 -0700 2009
| link
This is the AJAXify plugin that loads only part of the page and has history enabled by using the hash tag as a unique URL. This stops a new page load but maintains history and bookmarks.
philsturgeon
Tue Aug 11 15:40:50 -0700 2009
| link
Fixed the last AJAXify related issue I could think of, language switching links now use the AJAXify hash tag so you get sent back to whichever page you are viewing, AJAXified or not.
-
Currently everybody is placing their own copyright notices in every file they create, but wouldn't it be better if we'd use "@copyright PyroCMS development Team" or something like that ? This will make it look more like we are a team, rather than a bunch of geeks that happen to add some libraries to an existing project.
Comments
YorickPeterse
Wed Aug 26 04:16:42 -0700 2009
| link
Or we could do the following :
@author Yorick Peterse - PyroCMS development team @copyright Yorick Peterse - PyroCMS development team
Personally I think this is better.
philsturgeon
Wed Aug 26 04:42:47 -0700 2009
| link
@author Yorick Peterse - PyroCMS
is fine. We should be adding full doc-blocks to all our work really. I'll put this on the "Coding standards" wiki page.
YorickPeterse
Wed Aug 26 09:54:02 -0700 2009
| link
Great. It's something that makes it look more mature :]
-
That's all I get when I try to open the PyroCMS website (local).
Log file :
ERROR - 2009-08-27 17:36:46 --> Severity: Notice --> Undefined variable: setting_sections /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/core_modules/settings/views/admin/index.php 8 ERROR - 2009-08-27 17:36:46 --> Severity: Warning --> Invalid argument supplied for foreach() /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/core_modules/settings/views/admin/index.php 8
ERROR - 2009-08-27 17:36:46 --> Severity: Notice --> Undefined variable: setting_sections /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/core_modules/settings/views/admin/index.php 12
ERROR - 2009-08-27 17:36:46 --> Severity: Warning --> Invalid argument supplied for foreach() /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/core_modules/settings/views/admin/index.php 12
ERROR - 2009-08-27 17:37:08 --> Severity: Notice --> Undefined index: order /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/modules/comments/models/comments_m.php 71
ERROR - 2009-08-27 17:37:08 --> Severity: Notice --> Undefined index: order /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/modules/comments/models/comments_m.php 71
ERROR - 2009-08-27 17:37:08 --> Severity: Notice --> Undefined index: order /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/modules/comments/models/comments_m.php 71
ERROR - 2009-08-27 17:37:08 --> Severity: Notice --> Undefined index: order /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/modules/comments/models/comments_m.php 71
ERROR - 2009-08-27 17:37:09 --> Severity: Notice --> Undefined index: order /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/modules/comments/models/comments_m.php 71
ERROR - 2009-08-27 17:37:09 --> Severity: Notice --> Undefined index: order /Applications/MAMP/htdocs/Big_Projects/pyrocms/application/modules/comments/models/comments_m.php 71Comments
philsturgeon
Thu Aug 27 14:02:56 -0700 2009
| link
Is this a full fresh install? when did this start happening? Whats the URL?
YorickPeterse
Thu Aug 27 14:35:47 -0700 2009
| link
Ray is having this issue as well. It's most likely caused by a buggy .SQL file, I'll copy whatever is in the settings table and post it here tomorrow.
philsturgeon
Thu Aug 27 15:20:53 -0700 2009
| link
Settings table is empty. The rest of the default data gets in, just not that.
YorickPeterse
Sun Aug 30 06:40:47 -0700 2009
| link
Fixed in the latest commit
-
Why is it even there ? What's the use of putting the footer and header in a seperate file if they are only going to be used once (or twice) anyway ? The following template structure is so much better :
Themes | | |__Theme name | | |_css |_images |_index.php |_modules | |_module_nameComments
philsturgeon
Wed Sep 02 10:14:52 -0700 2009
| link
No. The layouts folder is there to allow different layout files to be used. This feature will be expanded in the future to allow modules and pages to select layout files.
header.php, footer.php, etc are all there so the same basic components can be used for each layout, just used in different orders or combinations, with different layout code in the main layout file.
Trust me, its a required feature. :-)
-
Incorrect semi-colon in installer/sql_files/1-tables.sql
1 comment Created 6 months ago by jasteele12Should be a comma, line 114
Comments
YorickPeterse
Sat Jun 27 11:06:49 -0700 2009
| link
Fixed it earlier today :)
-
Fatal error: Call to undefined method Layout::wrap_mode() in C:\web\pyrocms\application\controllers\admin.php on line 45
Comments
jasteele12
Sat Jun 27 14:02:16 -0700 2009
| link
Oops, that's admin/login.html
-
Could it be possible to auto-login the user when the activation code is confirmed ?
Comments
YorickPeterse
Fri Jul 24 06:26:38 -0700 2009
| link
I'd say this isn't the smartest thing. If somebody has access to the activation code he or she will also be able to access your PyroCMS installation.
philsturgeon
Fri Jul 24 06:47:46 -0700 2009
| link
To be honest, I hadnt considered that. some sites do this but I dont think this is something we should do unless we can secure the HELL out of the activation codes.
Close?
YorickPeterse
Fri Jul 24 06:52:14 -0700 2009
| link
Perhaps this could work if we limit the activation code to the IP address used during the registration progress. That way the activation code couldn't be used by somebody else.
philsturgeon
Fri Jul 24 07:00:27 -0700 2009
| link
Don't think thats a great idea. Register on your desktop at work with your home email address, get home and you cant activate.
Register on your laptop and its battery dies, activate on your mates laptop or your iphone, nope.
Just a really frickin long random code would be near impossible to guess. Activation could be limited to a week too to stop random bots getting anywhere near guessing.
YorickPeterse
Fri Jul 24 07:10:40 -0700 2009
| link
Hm..That's true. Perhaps it's just best to leave it as it is.
philsturgeon
Thu Aug 06 03:18:39 -0700 2009
| link
I'm closing this for now as I have no interest in the feature and think its probably a bad idea.
-
photos.gallery_slug and galleries.slug Size Descrepancy
0 comments Created 6 months ago by sleeplessmarkAppears that the photos.gallery_slug column is set to VCHAR(20) whilst the galleries.slug column is set to VARCHAR(255).
If the gallery is more than 20 characters long the photos break and will not load.
Comments
-
Hi,
Just digging around in the version downloaded via the link in the codeignitor forums (http://github.com/philsturgeon/pyrocms/zipball/v0.9.8-dev) (I don't have a lot of luck ending up with the latest code when downloading from github!)
I've found the following bits and pieces in the admin area:
1) The Photos, News and Newsletters modules appear to have no side bar as far as I can see. As a result they don't have the to create galleries, news posts, and newsletters respectively.
2) On the Add navigation link page the page title box is now labeled as text and is hard to see as it is white on a white background with no border. Same goes for all the text fields on that page.
3) When adding a page if you forget to fill in one of the required fields then all your data is lost from the other fields, frustrating if you've put a lot of information into the body but have forgotten to enter a URL
4) Required fields are no longer indicated with the red ribbon or other visual identification, at least not until the form is submitted. This seems to be across the board apart from the odd field that has required next to it, such as in the category module.
Cheers.
Comments
philsturgeon
Fri Dec 25 07:28:58 -0800 2009
| link
1.) I'm going through the v0.9.8-dev core modules, then going through the third-party/extra modules like Photos, News, Newsletters, etc later on.
2.) Navigation isn't finished, its one of the next on the list.
3.) This is a definited bug, i'll sort it out.
4.) Required is something I'm not sure how to do right now, I might copy over the old image but it doesn't really fit in with the new design. Got any suggestions?
-
Installer Does not work duplicate field in table 'pages'
0 comments Created 5 months ago by neotohinFile:
/ installer / sql_files / 1-tables.sql
Line : 114 and 119 ..
After deleting line 119 the system works fine.
Comments
-
Can you add a different Port Selection instead of default for MySQL during installation step 1 ?
Comments
philsturgeon
Tue Nov 03 13:02:05 -0800 2009
| link
Made this into a ticket on our internal tracker, and it wil lfind its way into v0.9.8. This can be done with a manual edit to the application/config/database.php file for now.
-
I took the site_url() off of views/admin/fragments/sidebar.php cause it was sending ajaxify the whole url when it only needed the admin/slug info. This was causing ajaxify to show a no page exists view when you clicked on the admin sidebar links.
Comments
philsturgeon
Sun Jul 05 06:26:36 -0700 2009
| link
This wont just be on the admin side-bar but in places like delete links on list pages too.
What browser, os, etc is in use here both client and server. This is all working fine in my environments.
-
version: 0.9.6.2
modules>contact>controllers>contact.php line 35 needs to be changed from:
if($this->settings->item('captcha_enabled'))
to
if($this->settings->item('captcha_enabled') && $this->user_lib->logged_in() == false)
other wise if im logged in and the captcha is enabled i get the captcha not entered error.
Jon
Comments
philsturgeon
Mon Aug 24 01:28:18 -0700 2009
| link
Done. Thank you for this bug report. :-)
-
I had two issues with the Server infomation page:
1- file_get_contents() caused a PHP warning error in /installer/includes/core_class.php on line 96.
PHP Warning: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found. The path to phpinfo.php is correct. I have 'allow_url_fopen' enabled. I could not work out how to solve the issue on my server, but I do think there should be other ways to check for mysql version if file_get_contents(url) fails. What about shell_exec('mysql -V') as a fallback?2- GD version. I have 2.0 installed, the script checks for > 2. I have had no issues with 2.0, it would be good to pin down what exact version is no good.
Comments
YorickPeterse
Wed Jul 08 09:20:16 -0700 2009
| link
- Will check that one out :)
- It doesn't really matter, for the time being I just choose to validate it against verison 2.0 I'll update it in the future.
YorickPeterse
Tue Jul 14 10:52:30 -0700 2009
| link
I took a quick look at the shell_exec alternative, but the command doesn't work on my computer since the mysql command doesn't exist.
I think mysql_get_client_info() might be what we're after then.
YorickPeterse
Wed Jul 15 04:35:18 -0700 2009
| link
The client one should work, however the mysql_get_host_info function requires a MySQL connection.
philsturgeon
Fri Jul 24 01:15:26 -0700 2009
| link
Hows this one coming along? Is it done?
Might be worth checking the installer is ok in master, had a full-file conflict and im not 100% I got it right.
YorickPeterse
Fri Jul 24 04:43:33 -0700 2009
| link
Not sure if I already implemented (and tested) it, will give it a shot later today :)
YorickPeterse
Fri Jul 24 06:24:37 -0700 2009
| link
Fixed in the latest commit. It uses mysql_get_server_info() to fetch the server version. In case this doesn't work it will use mysql_get_client_info() instead.
http://github.com/philsturgeon/pyrocms/commit/9f5ceb02b26e83069d3cea3d3b28f3c81b82c881
- Will check that one out :)
-
I received PHP warnings when trying to save my Database settings as the relevant files did not have the correct permissions.
- file: /installer/install.php
- function write_config
- line 70 and line 73
The fopen and chmod functions should be prefixed with '@' to suppress these warnings.
Also, in the /INSTALL file, perhaps adjusting permissions should be done immediately after files have been uploaded? IE, move point 6) after point 2)
Comments
YorickPeterse
Wed Jul 08 09:18:46 -0700 2009
| link
The reason I haven't included the @ tp suppress these warnings is because it's simply stupid to ignore these erros. I'll include a better validation system in the future. In the meantime you should make sure that the file permissions of database.php are set to 777.
If I can remember correctly, the script would return an error to the user informing them that the files in question were not writable. By suppressing the PHP error, we can elegantly display the application error to the user...
YorickPeterse
Wed Jul 08 12:58:44 -0700 2009
| link
I'll add a verification method so that it should check for permissions first :)
philsturgeon
Thu Jul 09 03:19:18 -0700 2009
| link
Can we set the chmod of database.php and config.php in the PHP code ourselves? We should be able to chmod them to 777 to write then back to 644 when the installer is done.
This would cut a few steps out for the end user.
The code is currently trying to do that, but it does not check the owner of the file, and therefore does not know if it would be allowed to chmod the file.
From PHP website:
"The current user is the user under which PHP runs. It is probably not the same user you use for normal shell or FTP access. The mode can be changed only by user who owns the file on most systems. "
philsturgeon
Thu Jul 09 03:28:25 -0700 2009
| link
Does PHP not have enough perms to change ownership, change chmod then change ownership back? I would have thought PHP would be able to do that, but never had the need to try.
This guys explains it: http://us3.php.net/manual/en/function.chown.php#91599
I don't think this can be done, unless PHP user has root permissions, which in unlikely in most cases, but I will research some more for a better solution, (although i'm pretty adamant one doesn't exist if PHP user doesn't have the correct permissions)
YorickPeterse
Thu Jul 09 04:23:56 -0700 2009
| link
It indeed already does it, but in most cases it wont work since PHP won't have the rights to do so (since that would seriously cripple it's security).
YorickPeterse
Tue Jul 14 11:18:48 -0700 2009
| link
I added extra verification, it will now show nicely formatted error messages in case it fails to write the config file :)
philsturgeon
Tue Jul 14 15:44:05 -0700 2009
| link
Giggedy goo. This issue closed then?
YorickPeterse
Wed Jul 15 04:33:14 -0700 2009
| link
Yes :)
-
My default home page returns a 404 error page.
In file: /application/modules/pages/controllers/pages.php
Line: 29Using call_user_func will always pass the $slug variable into the function as a parameter, even if it's blank string or false. In this case function page($slug = 'home') will never default to home, but that's what we want to happen? $slug should be set to 'home' if it's empty string..
Comments
YorickPeterse
Wed Jul 08 13:09:42 -0700 2009
| link
Same problem here, I'll see if I can fix the problem later tonight :)
philsturgeon
Thu Jul 09 03:58:44 -0700 2009
| link
There should always be a home entry in the database. Is installer not running 2-default_data.sql?
There is indeed a home entry in the database, but its trying to load an empty slug.
For example:
http://pyrocms.badsyntax.co.uk/
and
http://pyrocms.badsyntax.co.uk/homeSo, the slug is not defaulting to 'home' if the slug is an empty string.
philsturgeon
Thu Jul 09 05:54:34 -0700 2009
| link
Done and pushed to master.
-
Not such much a bug, more like misleading information that perhaps needs to be corrected.
File perms need to be set for /application/cache AND all child folders, perhaps the installer should let the user know this.
"The CHMOD values of the following folders must be changed to 777" perhaps should read
"The CHMOD values of the following folders and all child folders must be changed to 777". Ofcourse this means the installer should check perms of child folders as well.When the installer completed, and I opened up /index.php/admin I was faced with an error message because I had not changed the perms of child folders of /application/cache (in this case /application/cache/simplepie also needs write perms)
Comments
YorickPeterse
Thu Oct 22 11:59:04 -0700 2009
| link
Thanks for the suggestion, I'll create a ticket for this at our private bugtracker :)
-
extra brace on line:18
contact\views\email\contact_html.phplogic problem on line:48
contact\views\index.phpThere is no language file for contact.
Flash data not working for contacts. As a result captcha check facing problem.Thanks
Comments
YorickPeterse
Fri Jul 24 07:11:01 -0700 2009
| link
This issue has been fixed in the latest commit : http://github.com/philsturgeon/pyrocms/commit/db19539933431889dc9f88d8c5321fb7cfb77cde
-
- Click "New album".
- Fill all field.
- Click "Save"
Result: Error. An error occurred.
Comments
YorickPeterse
Tue Jul 28 16:36:56 -0700 2009
| link
What kind of error ? Or is that the actual error itself ?
philsturgeon
Wed Jul 29 02:51:01 -0700 2009
| link
This seems quite likely to be a permissions issue. Did you run the commands in the INSTALL.txt file?
We should probably put a reminder in the installer interface to run these commands. I will put something together tonight.
YorickPeterse
Wed Jul 29 13:08:02 -0700 2009
| link
Almost 99% sure this is an issue related to file permissions, I can create a photo album without any trouble.
YorickPeterse
Wed Jul 29 13:11:11 -0700 2009
| link
I double checked it and this isn't a bug.I closed it for now, but feel free to message me in case you want to have this issue re-opened.
- Click "New album".
-
If blank fields are submitted the validation call at line: 37 in application/controllers/admin.php will return TRUE and the users are redirected to the admin controller which redirects back to login.
Not a huge bug but annoying - I just made both fields required so they will fail the validation.
Comments
philsturgeon
Wed Aug 05 12:14:29 -0700 2009
| link
Thanks for the heads up. Done.
-
improper closing of the tag on line:19 in application/views/admin/login.php causes the template to shit itself when there's validation errors.
Comments
philsturgeon
Wed Aug 05 12:15:19 -0700 2009
| link
Had a self closing tag which is now and empty closing tag. Still cant spot an issue here though, looks fine. Which browser?
philsturgeon
Wed Aug 05 18:39:00 -0700 2009
| link
It's possible im just being an idiot here but it looks fine to me. Could you pastie a corrected version of this file so I can include it into the codebase?
YorickPeterse
Fri Aug 21 03:25:25 -0700 2009
| link
Which template are you using ?
philsturgeon
Fri Aug 21 04:02:59 -0700 2009
| link
The admin template. http://example.com/admin/login
YorickPeterse
Fri Aug 21 05:16:58 -0700 2009
| link
Checked the bug and it seems to be working fine, closing this one.
-
Wrong translation.
example:
Página estraviada. -- WRONG, corrected word is Extraviada, but even the correct is to say (No se encontró la página --or-- Página no encontrada).Comments
philsturgeon
Thu Aug 13 02:57:39 -0700 2009
| link
Which line in which file should this change be made?
If you could post the exact line as it should be that would be brilliant.
philsturgeon
Thu Aug 13 15:44:41 -0700 2009
| link
Done, will be pushed later on.
-
I registered and i wanted to activate manually and i get this error on http://pyrocms.com/demo/users/activate
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/users.phpLine Number: 111
Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /home/pyrocms/public_html/demo/codeigniter/libraries/Exceptions.php on line 160
Comments
philsturgeon
Tue Aug 11 06:37:09 -0700 2009
| link
This has been fixed in the main codebase and applied to pyrocms.com and pyrocms.com/demo.
Thanks for the heads up!
-
the last link in the footer navigation system is missing
Comments
philsturgeon
Mon Aug 17 01:45:12 -0700 2009
| link
Which theme are you using?
seanloving
Wed Aug 19 00:31:31 -0700 2009
| link
all 3 themes missing last link in footer
YorickPeterse
Fri Aug 21 03:28:05 -0700 2009
| link
And what last link ?
philsturgeon
Fri Aug 21 04:02:35 -0700 2009
| link
Done.
-
I know another bug report is filed about the uri but I wanted to post a possible fix which you can see here: http://gist.github.com/231134
It uses some functions from Wordpress and verifies that an existing slug does not match. If so then it ads a number to the end.
The other thing I would like to propose is when editing the categories from admin you use the id to update instead of the slug.
Comments
philsturgeon
Wed Nov 11 01:38:06 -0800 2009
| link
F**king hell thats a lot of code for slugs. Might be worth making a Slug library for this sort of thing?
The other option is simply have a "as you type" slug box on each form that uses a slug, to automatically guess what a slug should be but provide options if not. Meaning, as you type, all alpha, numeric, dash characters go into the box, leaving out everything else?
Not sure id vrs slug really matters when updating. It does the same thing and improves automatic breadcrumbs.
ericbarnes
Wed Nov 11 06:26:49 -0800 2009
| link
The problem I ran into when using javascript was converting foreign characters. But I guess giving them the power to enter it them selves would prevent from having php do it.
I mainly posted this as a suggestion. In no way shape or form do you have to use it. :) Just something I have been using in a project and works 100 times better than the default url_title func.
philsturgeon
Wed Nov 11 07:02:23 -0800 2009
| link
The url_title() for sure is very limited and this code seems to do an awful lot towards sorting it out, but im just trying to work out the best solution.
With slugs getting them to work for EVERYONE is never going to be simple. Character converting will never work for all languages and character types, so forcing human entry of characters may be the best bet, even if it is incredibly annoying.
Perhaps instead of just using JS to insert all non a-zA-Z0-9_- characters, we could combine the two and convert what can be converted and check duplicates at the same time?
A generic "slug" controller could be made that could be used as a generic way to check any kind of slug... somehow... Perhaps a function that sets which db and field to check against for the unique slug, and runs a convert at the same time?
ericbarnes
Wed Nov 11 07:18:05 -0800 2009
| link
Here is a jquery one I just found: http://leocaseiro.com.br/jquery-plugin-string-to-slug/
It worked on the German characters I entered but not chinese and probably not arabic.
philsturgeon
Wed Nov 11 07:39:46 -0800 2009
| link
Cyrillic and Chinese show as 'undefined'
-
Unable to select the specified database: pyrocms,
i need to create databse,but how the structure i can builtComments
philsturgeon
Fri Sep 18 02:24:03 -0700 2009
| link
You need to run the installer. I see you have found the installer in another issue so I will close this one down.
-
The database tables could not be created, please verify your settings.
Comments
philsturgeon
Fri Sep 18 02:27:09 -0700 2009
| link
Could you please provide a little more information.
Is this on a local setup or live server.
Is MySQL definitly running?
Are you sure you have the right passwords?
Any information you can give us will help. Right now you are just telling me that something is broken somewhere for someone. We cannot do much with that. :-)
I also had a problem with the installation.
So I tried manual execution of the sql files.
The database went OK
but the default data failed.
Problem is with this line in default data sql:
('twitter_password','Password','Twitter password.','password','','','','0','1','twitter'), the type mentioned 'password' does not exist in the table settingsSolution:
in the database.sql at CREATE TABLEsettingsupdate the line:
typeset('text','textarea','select','select-multiple','radio','checkbox') collate utf8_unicode_ci NOT NULL,To
typeset('text','textarea','select','select-multiple','radio','checkbox', 'password') collate utf8_unicode_ci NOT NULL,This solved the database setup problems for me
YorickPeterse
Sun Oct 04 04:06:40 -0700 2009
| link
It's weird to see that the default data still isn't inserted properly, it should've been fixed a while ago.
Hi,
Thanx for your Mail.
I downloaded pyrycms yesterday (03OCT09, philsturgeon-pyrocms-287aff0.zip)
And the problem is in the 1-tables.sql file.
By adding the 'password' entry I was able to execute all 3 .sql file's without problems.If I now start pyrocms, it shows me the default page which is good.
But I encountered a new problem, when I try to login with:
user: demo@example.com
password: passwordThe browser goes to:
http://localhost/pyrocms/users/loginWhich does not seem to exist, showing me a 404 page.
So I am not able to login to test the CMS :-(I also cannot find a controller called users??
so I am stuck a bit.
I guess this should be Admin instead of users.
I have not found a solution for this yet.regards
YorickPeterse
Sun Oct 04 11:51:32 -0700 2009
| link
Did you upload your .htaccess file as well ?
Well I do not use appache as webserver but Abyss from aprelium,
So I do not have any need for the .htaccess
At least I think. I will take a look at the aprelium forum for abyss if I can find anything about .htaccess but I thought it was specific for appache.
YorickPeterse
Sun Oct 04 14:34:36 -0700 2009
| link
There's your problem. PyroCMS relies on a working .htaccess file in order to work properly. It has never been tested on Abyss (or any other non Apache server as I know).
philsturgeon
Sun Oct 04 23:55:06 -0700 2009
| link
Not entirely true. PyroCMS simply requires mod_rewrite for the URL rewriting. If you add "index.php" to the $config['index_page'] item in application/config/config.php then it should work fine.
Yorick: perhaps this could be added to the installer? Have a "Server Software" option with a dropdown showing only "Apache (with mod_rewrite)" and "Other". If mod rewrite then have a blank index_page, if anything else keep index.php in there. That should make it work with most server software around.
Thanx Phil (and Yorick),
The last info from Phil was the solution,
everything seems to be running ok on my Abyss webserver.
YorickPeterse
Mon Oct 05 10:10:40 -0700 2009
| link
I'll add this feature to the installer as soon as possible :]
magicmarkker
Tue Oct 27 14:00:03 -0700 2009
| link
Hi, i'm having a problem with after i install the database, I get a blank page that says "No input file specified". Any ideas why? I've uploaded the htaccess and I have mod_rewrite enabled.
philsturgeon
Tue Nov 03 13:05:56 -0800 2009
| link
magicmarkker: Is this still causing problems? Have you tried the newest version?
magicmarkker
Wed Nov 04 12:46:47 -0800 2009
| link
ok so I found the problem. If cgi.fix_pathinfo default is set to 1, you can fix it either of two ways.
1. Create your own php.ini file and set it to 0
2. Go to .htaccess file and add question mark after index.php and before slash.
philsturgeon
Mon Nov 09 08:37:55 -0800 2009
| link
Do you have a suggestion for PyroCMS implementation? I think this is a environment problem, and im worried if I make the change mentioned in option 2 it would have widespread effects for other users.
Can you test this change in a few common environments so we can include it?
magicmarkker
Mon Nov 09 08:46:21 -0800 2009
| link
This was a suggestion on how to fix the No Input File Specified error on Dreamhost hosting. Because on their hosting cgi.fix_pathinfo default is set to 1 and in order for the htaccess file provided with PyroCMS to work, cgi.fix_pathinfo needs to either be set to 0 or in the htaccess file you need to add a question mark after index.php and before the slash so like this, index.php?/$1
philsturgeon
Wed Nov 18 04:37:46 -0800 2009
| link
I'll add cgi.fix_pathinfo to index.php and hopefully it wont break for everyone. >.<
-
Hello,
Cant seem to get the PyroCMS working as it should. Site partly wok with index.php in the URL, removing will return a 505 error. At the side of codeigniter its all standard, the index.php is removed etc. Allowing the index.php will return a partial working cms where admin side Javascript links not working at all.
I'm using 1And1.com webhosting(linux), so all the server side things are supported.
Can you please assist me?
Thanks,
AzuuComments
YorickPeterse
Sun Sep 27 15:19:26 -0700 2009
| link
Is mod_rewrite enabled ?
Yes, codeigniter other installation works, maybe the pyrocms .htaccess file settings are wrong?
YorickPeterse
Tue Sep 29 08:43:27 -0700 2009
| link
You could take a look at it, but I highly doubt it since if it would be wrong (almost) everybody would have problems with it.
philsturgeon
Sun Oct 25 13:34:06 -0700 2009
| link
505 HTTP Version Not Supported
The server does not support, or refuses to support, the HTTP protocol version that was used in the request message. The server is indicating that it is unable or unwilling to complete the request using the same major version as the client other than with this error message. The response SHOULD contain an entity describing why that version is not supported and what other protocols are supported by that server.
That is very odd. I would send this to your hosting support. Sorry I could not be any more help.
-
Hi,
I hope I'm ok posting this here. Am wanting to try out pyrocms. Have run the installer but got errors so did a manual as the installer read me suggested but when I try to login in I get a 404. Can someone help? Thanks
Comments
Hi,
Maybe you have the same problem as I was having.
I do not use appache webserver and then you have to make an extra change:If you add "index.php" to the $config['index_page'] item in application/config/config.php then it should work fine. (info from Phil Sturgeon)
This worked for me.
regards
Hey,
Thanks alot for your reply.
My webserver is appache but setting $config['index_page'] did make a difference. I will have a play around and post back here.
YorickPeterse
Thu Oct 22 11:57:57 -0700 2009
| link
Any updates so far ?
Hey,
Sorry I have not got back to you sooner. Having trouble with it but am really short of time at the moment but am keen to get working. Will post here when I get a chance.
Many Thanks
philsturgeon
Wed Nov 18 04:34:27 -0800 2009
| link
Any update with this? Otherwise I'll close this issue as nobody else has reported problems with it.
-
Hi,
When trying to create a new (Admin) user I ran into two problems.
1st. Problem
A Database Error Occurred
Error Number: 1364
Field 'lang' doesn't have a default valueI cannot fillout any language selecting when adding users
1st. Solution.
I changed the table setup for the field lang.
There I added a default value EN, so this field is always filled out.
Anyhow, there should be a selecting for language when adding users I think.2nd. Problem
A Database Error Occurred
Error Number: 1364
Field 'last_login' doesn't have a default valueSince I am creating a user this does not have a last login value yet.
2nd. Solution.
I changed the table setup for the field last_login.
There I allowed for an NULL vlaue in the field.
I think the design for the table should be adjusted (als in the .sql file of setup)After these two solution I was able to create new users.
I hope you can do something with the above ;-)
regards
Comments
philsturgeon
Mon Oct 05 03:57:53 -0700 2009
| link
I have made a ticket for this in our niternal tracker.
This is an issue for older MySQL versions as in 5.x it does not complain about this sort of thing. Please let me know if you find any more, I dont have any 4.x installation available to me.
Well I am not running a MySQL 4.x but:
MySQL 5.1.39-community via TCP/IPAnyhow, you triggered my with the MySQL remark.
I made a new install on another system (so I had correct tables again) of PyroCMS and it showed the same problems.
Then I checked the SQL mode of MySQL (my.ini of MySQL)
There the entry: STRICT_TRANS_TABLES
was filled out. I removed this and tried it again.
Now it works.I hope this helps some others.
(but I still think the table should be corrected and a language selection should be available when setting up a user)regards
-
The is_dir() returns false in _other_asset_location() which is defined in application/libraries/Asset.php Due to this bug, the JavaScript path is generated wrongly.
PyroCMS version - 0.9.6.2Here is the patch:
if($module_name) { if(is_dir('application/modules/'.$module_name)) { $asset_location .= 'modules/'.$module_name.'/'; } else { $asset_location .= 'core_modules/'.$module_name.'/'; } } else { $asset_location .= 'assets/'; }Comments
philsturgeon
Tue Oct 27 00:20:04 -0700 2009
| link
This is fixed in v0.9.7-beta1 which was released last night. :-)
-
Error to login admin after installation
4 comments Created about 1 month ago by shinokadaAfter a successful installation(v 0.9.7.2), when I go to login first time as an admin, I get the following error.
Fatal error: Call to undefined method Pages_m::countPages() in C:\xampp\htdocs\ci_pyrocms\application\controllers\admin.php on line 37
Could anyone tell me what I need to fix this problem?
Comments
philsturgeon
Fri Nov 20 01:05:04 -0800 2009
| link
As an immediate fix, try adding pages_m to the models line in application/config/autoload.php
It has 'pages'=>'pages_m', already.
I added as following. but it still gives an error.$autoload['model'] = array('permissions' => 'permissions_m', 'news'=>'news_m', 'modules_m', 'pages'=>'pages_m', 'pages_m');
philsturgeon
Fri Nov 20 02:43:28 -0800 2009
| link
Ok remove that from pages_m. Are you sure you are using v0.9.7.2 and not the current master copy?
http://github.com/philsturgeon/pyrocms/downloads
Pick v0.9.7.2 from there, otherwise you are using potentially unstable copy. I will start changing the version to something like v0.9.7.3-dev after a version is tagged to stop this confusion happening again.
philsturgeon
Wed Nov 25 00:49:31 -0800 2009
| link
Did this work in the end?
-
in the $rules array line 7, the "title" rule for max_length is coded as ma_length.
Comments
philsturgeon
Tue Nov 03 01:37:57 -0800 2009
| link
Thanks for that, will make an appearance in v0.9.7.1.
-
application/config/config.php line 312 has this
$config['rewrite_short_tags'] = FALSE;It should be set $config['rewrite_short_tags'] = TRUE;
due to PyroCMS has lots of code with short php tags like "<?" instaed of "<?php" "<?=" instead of "<?php echo" etc. Then CI will processes this short tags. THe developer shouldn't change php.ini file to enable this ability for php5 (sometimes it hard to do if you have no appropriate access.Comments
philsturgeon
Wed Nov 04 06:40:15 -0800 2009
| link
You make a good point. We had planned to rewrite the short tags ourselves for performances sake, but this is obviously taking a while as its an ongoing "as we find them" kind of job.
I'll enable short tag rewriting for now then hopefully we can turn it off by the time we get to v1.0.
philsturgeon
Wed Nov 04 15:35:12 -0800 2009
| link
Done.
-
I've tried functionality of PyroCMS javascript based admin menu using Internet Explorer and FireFox browsers using 2009-11-02 version.
IE8, FF3.5 - cool
IE7, FF2.0.0.20 - menu doesn't work.
Comments
philsturgeon
Wed Nov 04 10:33:04 -0800 2009
| link
Withough sounding like an ass, if you find a fix let me know. I have no access to either of those browsers right now and if I'm honest I cba to support them. Who uses FF2?
sometimes my projects I need support of IE6-IE8, FF>=2.0 etc ...
I haven't found the solution, but I've seen that opening in new tab/window do not inspire this issue.
after investigation I guess that issue inspired in
application/assets/js/admin.js lines 83-103.
ajaxify (or rather Get method) adds '?' and current time to prevent retrieving of the cached page
philsturgeon
Thu Nov 05 01:05:14 -0800 2009
| link
What do you mean by "menu doesn't work."?
The links dont go anywhere or the animation is messed up?
Do you get a JavaScript error?
If so, can you post the JavaScript error?
If not, can you post a screenshot that could help?
You need to give me SOMETHING to work with if you want this fixed, otherwise I can't do anything about it.
I click of top menu item such as 'Categories', 'Comments', 'Navigation' etc.
for instance, i click 'categories' link. I should see list of categories. I don't see them in FF2.. I saw the html source. The html source was modified correctly.
The reason of failure work in FF2.0 and IE7.0 inspired by incorrect changes of jQuery1.3.2 attribute 'html' after jQuery1.2.6 ( ajaxify was developed for jQuery1.2.6, tested for FF>=2, IE>=7.0).
I've noticed jquery community about this bug.
To solve this issue for PyroCMS you'll need to change this file: "application/assets/js/jquery/jquery.ajaxify.js".
You'll need to add these lines:
if(typeof data == 'object'){ data = data.html(); }after line number 344 (after these lines of code):
if(!jQuery(current.target).size()) jQuery.ajaxifylog('Warning: Target "'+current.target+'" couldn\'t be found.');}
I tested my changes in FF2, and I haven't tested in IE7 yet. but i guess, the results will be successfully too.
philsturgeon
Wed Nov 25 00:56:22 -0800 2009
| link
Implemented. Thanks.
-
application/assets/js/front.js
line 8: closeImage : APPPATH_URI + 'assets/img/facebox/closelabel.gif',remove comma at the end of this line (in admin.js it already fixed).
P.S. Could you give me access to modify files?
Comments
philsturgeon
Tue Nov 17 02:34:24 -0800 2009
| link
I have fixed the file. Drop me an email with any other changes you had in mind so we can discuss them. :-)
-
please add field target into table
navigation_links
cause by default it is missing from the whole tables packagealso another suggestion is to add the following lines to installer/sql/2-default-data.sql
truncate
navigation_links;
insert intonavigation_linksvalues('1', 'Home', 1, '', '', '', 1, 1, '');this will add navlinks 'Home' by default to the pyrocms site
it will improve the overal layout of default 'Advertising' themeComments
philsturgeon
Mon Nov 09 08:30:24 -0800 2009
| link
I've added a ticket for this to our internal tracker. It will be included in the v0.9.7.2 release.
-
WYSIWYG Image Manager giving blank screen (v0.9.7.2)
6 comments Created about 1 month ago by chrishodgsonpyrocms: 0.9.7.2
browser: Firefox 3.5.5
os: osx leopard
When you click the image manager button on the WYSIWYG, it gives a blank screen. A javascript error is reported in the firefox console...
"self.lang is undefined" on line 75 in assets/js/tiny_mce/plugins/tinycimm/js/tinycimm.js
line 75 seems to be returning an error whilst executing XHR.Send()
line 75 line reads as follows ...
tinyMCEPopup.editor.windowManager.alert(self.lang.msg_xhr_error_asset+".");
the add/insert image button alongside the Image manager button on the WYSIWYG works fine
chris
Comments
philsturgeon
Thu Nov 12 04:56:20 -0800 2009
| link
A ticket has been raised, we'll close this when its fixed.
Thanks for reporting this issue.
philsturgeon
Thu Nov 12 05:51:46 -0800 2009
| link
chrishodgson
Thu Nov 12 07:02:42 -0800 2009
| link
thanks for the prompt response
after installing the patch, i now get an alert displaying "undefined"
which is being displayed by the same alert box as before, but is showing undefined because the language variable isnt defined ...
tinyMCEPopup.editor.windowManager.alert(self.lang.msg_xhr_error_dialog+".");
i grepped for the language string and found it in ..
language/english/tinycimm_lang.php:$lang['tinycimm_dialog_msg_xhr_error_dialog'] = 'There was an error retrieving the dialog body html';
Anyway, the reason that its trying to display this alert in teh first place is because XHR.Send() is returning an error response when called in getDialogBody() (file: tinycimm.js)
so unfortunately its not fixed, although the earlier error has been resolved. sorry i would try to fix this myself, but am not too clever on the js side
chris
Hi chris
Firstly, my apologies for these issues, and thank you for the feedback. The image manager has never been BETA tested before, so teething problems are somewhat expected.Unfortunately I can't replicate this issue my side. If the image manager is trying to alert an error msg, then probably something has gone wrong on the backend side. Please can you have a look in the codeigniter logs (/codeigniter/logs) and let me know if you spot anything obvious. (Also, if you're willing, send me the latest log file and I can take a peek. [willis.rh@gmail.com])
philsturgeon
Wed Nov 25 00:56:55 -0800 2009
| link
Any progress on this one guys?
chrishodgson
Mon Dec 21 01:29:43 -0800 2009
| link
some feedback after testing on v0.9.7.3...
congrats - the original errors have gone (thanks)
suggestion on usabilty - on the upload tab, maybe add some instructions like "1. browse for file 2. click upload"
permissions issue - you get "you dont have permission to access this features" when you click image manager whilst logged in as non admin account
-
v0.9.7.3 - Current (active) menu not working in navigation
1 comment Created 8 days ago by chrishodgsonHi
The current (active) menu is not changing when i click a different page in the navigation.Seems to be caching the navigation globally rather than individually for each page because the current_link property in the $navigation object gets set, but always stays the same
chris
Comments
philsturgeon
Mon Dec 21 02:04:19 -0800 2009
| link
Ahh, I deprecated use of this as the logic seemed massively flawed. Instead of manually calculate wether the tab is active in the view file which is not better. Could you take a look at the logic and try and improve it? If so I will re-implement for v0.9.8.
I'd have a pop myself but this v0.9.8 branch is getting crazy. Crazy-good, but still crazy.
-
Apache crash when i login to the admin side an error comes up. and connection rest.
Comments
philsturgeon
Wed Nov 18 04:33:07 -0800 2009
| link
It would be helpful if you could give me some information to work with here. That gives me nothing to work with at all.
ibrahimmomani
Wed Nov 18 06:06:43 -0800 2009
| link
i have xampp 1.7.2 and i installled pyrocms on it and i got this error
when i go this url admin/login
Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.
szAppName : httpd.exe szAppVer : 2.2.12.0 szModName : php5ts.dll
szModVer : 5.3.0.0 offset : 0003406f
philsturgeon
Wed Nov 25 00:50:43 -0800 2009
| link
GDMac is getting the same problem:
pyrocms 0.9.7 on local dev. (mac 10.5.8, php 5.3 entropy)
step1 is run ok, clicking step2 gives a "the server unexpectedly dropped the connection" in safari and a blank screen (200 OK) in Firefox.
philsturgeon
Fri Nov 27 01:13:45 -0800 2009
| link
Ok so it seems PyroCMS is not compatible with PHP 5.3.0 this is not just a XAMPP issue.
philsturgeon
Mon Nov 30 00:31:11 -0800 2009
| link
This is happening on XAMPP, MAMP, WAMP and all sorts of LAMP stacks, but still is confirmed as only happening in PHP 5.3.
We have had reports that this is caused by a MASSIVE HTTP header (over 8kb) and we need to find what is causing it. I have a theory that it is related to MySQLi sending all its queries in one go, so I have tried splitting them up in the installer and that is causing new errors.
Please continue reporting anything new you find out, especially if you find Apache crashing anywhere other than Installer last stage.
philsturgeon
Wed Dec 23 08:01:25 -0800 2009
| link
Any word on whether this is still an issue in v0.9.7.4-dev? Between my installer fix and patching SimplePie for PHP 5.3 this issue should now be resolved. If not, can you provide me with more information?
-
pyrocms 0.9.7 on local dev. (mac 10.5.8, php 5.3 entropy)
step1 is run ok, clicking step2 gives a "the server unexpectedly dropped the connection" in safari and a blank screen (200 OK) in Firefox.Comments
philsturgeon
Sat Nov 21 05:42:10 -0800 2009
| link
Can you try v0.9.7.2? Several installer issues have been fixed since v0.9.7, this may be related to one of them.
Yes, tried both 0.9.7.1 and 0.9.7.2 with no luck.
(edit: is there a debug mode?)It's more serious then i thought.
Console reports: Formulating crash report for process httpd[8158]
philsturgeon
Wed Nov 25 00:50:28 -0800 2009
| link
We already have an issue for this, but I have no idea wtf is going wrong here. Closing as I dont want a duplicate thread.
-
Just in case someone gets the same error :)
A PHP Error was encountered
Severity: User Warning
Message: application/cache/simplepie//47fcc4d58332e5949c895a71f2c0b7ca.spc is not writeable
Filename: libraries/Simplepie.php
Line Number: 1779I got this error just right after installation, when I tried to login to /admin/ .. (Version 0.9.7.2) . Setting simplepie directory to 0777 fixes the issue.
Maybe this could be checked in step 4 of installation?
Comments
philsturgeon
Wed Nov 25 00:48:04 -0800 2009
| link
This has been added as a ticket to our internal system and will be taken care of in the next release. Thank you. :-)
-
Error Found when install Pyro CMS 0.9.7.2 using Uniform Server V 5.1 Nano and Easy PHP Version 5.3
2 comments Created about 1 month ago by atmoonError found when try to intall Pyro CMS with WAMP Uniform Server Version 5.4 Nano :
- A PHP Error was encountered
Severity: 8192
Message: Assigning the return value of new by reference is deprecated
Filename: libraries/Loader.php
Line Number: 414
The error disappeear when refreshed, error location at libraries/loader.php
$CI->dbutil =& new $class();
- An Error Was Encountered
Error at line 89 file application/libraries/MY_Language.php ->
Error notes
Unable to load the requested language file: language/newsletter_lang.php
Environtment :
Uniform Server
using Apache/2.2.14 (Win32) PHP/5.3.1 DAV/2 and mysql version: 5.1.41-community apache
Error also found when i try to use Easy PHP WAMP Version 5.3, apache server crash !
- Apache/2.2.13 (Win32) PHP/5.3.0
- MySQL client version: mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
- PHP extension: mysql
MySQL Server
Server version: 5.1.37-community-log
Protocol version: 10
User: root@localhost
MySQL charset: UTF-8 Unicode (utf8)
- Pyro CMS Running well when using old Version Uniform Server V 4.1 . This WAMP Server using :
Apache/2.2.11 (Win32) PHP/5.2.9-1 DAV/2
MySQL client version: 5.1.31
PHP extension: mysqli
MySQL
Server version: 5.1.33-community
Protocol version: 10
Thanks
atmoonComments
philsturgeon
Mon Nov 30 00:27:53 -0800 2009
| link
1.) This is an issue when using PyroCMS on PHP 5.3 which was fixed in v0.9.7.x (cant remember which). Please ensure you have the latest by downloading from the Downloads tab and clicking v0.9.7.2, or download master which will give you the current v0.9.7.3-dev (stable-ish development build).
2.) I spotted this one a while ago but I cant seem to re-create it. Possibly fixed in v0.9.7.3-dev.
3.) We have had lots of reports of Apache crashing when using WAMP or XAMPP and PHP 5.3. Are you having problems running the installer, or another page?
Installer crash is mainly caused by a MASSIVE HTTP header (too big for PHP to handle) which I think is caused by MySQLi (investigating).
philsturgeon
Thu Dec 24 03:43:31 -0800 2009
| link
All of this has been fixed. Please post back new details if installer is still suffering on Uniform server, but it should be supported fine now.
-
When publishing news if no item is selected then it reports the default codeigniter error page. To solve this I could maybe use my own javascript to manage the imput form and report the error before any php is submitted to server.
Comments
philsturgeon
Mon Nov 30 00:22:04 -0800 2009
| link
Fix pushed this morning to v0.9.7.3-dev (master).
-
Have latest xampp (1.7.2) version installed on Win7 machine. Downloaded PyroCMS v0.9.7.3 and started basic installed. All requirements were met and installation went smoothly. Then open control panel and tried to log in with default account (demo@example.com | password) after that browser throwed error that connection was reset.
Error 101 (net::ERR_CONNECTION_RESET): Unknown error.
Only error i could found in log file is:
[Fri Dec 11 12:11:55 2009] [error] [client ::1] File does not exist: D:/xampp/htdocs/facebox, referer: http://localhost/pyrocms/Comments
philsturgeon
Fri Dec 11 02:47:14 -0800 2009
| link
1.) What version of PHP & MySQL do you have installed?
2.) What server software are you running?
3.) Did you try it a second time?
1.) 2.) http://www.apachefriends.org/en/xampp-windows.html
3.) yes! I tried dozen times. It is all ok with public page, but nothing works when i try to open anything after admin segment except admin/logout, after that login screen again is visible. -
Adblock Plus - problem with /advertising url in pyrocms
0 comments Created 6 days ago by darkroomdaveI know this specifically isn't a issue with pyrocms but using
The "Advertising" in the url causes adblock plus on firefox to block the style sheet. this caused me some time to figure out what was going on and can cause a new developer like myself to think it is broken. I know it is adblock that is breaking it - but if something besides that url could be used in the demo template?
Comments






Have you copied the main chinese language files for CodeIgniter into the systems/ folder? I forgot to mention this on the wiki page.
Oh,I forgot it.It seems work following your direction.Thanks.
Glad to hear it. If we can sort out issue #42 hopefully we can get chinese built into the core!