Guest Posted October 27, 2005 Share Posted October 27, 2005 Hi all, First of all I would like to say: great contribution! Second, when installed I have the following error messages: Page Manager Pages Page Type Sort Order Status Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/smallcra/public_html/test/catalog/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 18 Does any-one know how to solve this problem? Thanks in advance! Best regards Geeraard Hi all, Is there no-one who can help me wih the above problem? I'm kinda stuck here... Thanks! Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
neurotoxic Posted October 27, 2005 Share Posted October 27, 2005 Hi all, Is there no-one who can help me wih the above problem? I'm kinda stuck here... Thanks! Best regards Geeraard Where exactly do you get this error message? On what page? Have you tried reinstalling it? Quote Link to comment Share on other sites More sharing options...
Guest Posted October 27, 2005 Share Posted October 27, 2005 Hi Neurotoxic, Thanks for te reply! I receive these errors on the admin panel where this contrib is added. I have not yet tried to reinstall. Is it possible that it conflicts with other contribs? Thanks! Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
WEB11 Posted October 28, 2005 Share Posted October 28, 2005 I just installed this contrib (Ver. 4.3 August 4. 2005) and the only Issue I have so far is that I am not able to change the page titles without breaking it. Lets say I want to change the title from "Contact Us" to "More Information" the moment I change it using Page Manager, the link will change from "http://www.domain.com/test/contact_us.php" to "http://www.domain.com/test/info_pages.php?pages_id=2". I tried to use the fix posted by Ralph here but I can't find where to change the following code: further down in the same page if($page['pages_title'] != 'Contact Us'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } This pice of code is not portable. As soon as you change the name of the page in the page_admin, it will no longer work. Better solution would be to base that selection on the page_type. Replace the above code with: switch ($page['page_type']) { case 2: $link = FILENAME_CONTACT_US; break; case 3: $link = FILENAME_SHIPPING; break; case 4: $link = FILENAME_PRIVACY; break; default: $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; break; } // end switch Ralph Did anyone manage to find where to change this? Its not in my info_pages.php :( Quote Link to comment Share on other sites More sharing options...
VPSsupport Posted November 4, 2005 Share Posted November 4, 2005 Hello, I have installed this contribution and it seemed to work fine. At some point I deleted the contact us file in the admin info box. Around this time I started losing my cart contents when people click on my extra pages. Does anyone know of a solution to the problem I am having? My Webpage Many thanks, Quote Regards, Clive Link to comment Share on other sites More sharing options...
Yari Posted November 6, 2005 Share Posted November 6, 2005 Hi all, First of all I would like to say: great contribution! Second, when installed I have the following error messages: Page Manager Pages Page Type Sort Order Status Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/smallcra/public_html/test/catalog/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 18 Does any-one know how to solve this problem? Thanks in advance! Best regards Geeraard I have the same problem, did you solv it ? Or can anyone else help me ? This error is in the admin when you open the link Page manager. Quote Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2005 Share Posted November 6, 2005 So far I did not solve it. However, when I empty the relevant records in SQL dBase, the error messages disapear. But when I create a new page, the errors are back again :blink: weird stuf... Help, any-one? Grtz, Geeraard Quote Link to comment Share on other sites More sharing options...
strungout911 Posted November 11, 2005 Share Posted November 11, 2005 Wow, awesome contribution! Especially since a brand newbie like me managed to install it. Anway, could someone tell me how to place the info box where I want. http://www.globeexterminators.com Please don't look at how much it sucks. It's just getting started. See how the box I titled "know more about" is placed at the bottom of all the other boxes? How eould I place it, say, right under the "categories" box?????? Thanks soooooooo much for any help in advance! Quote Link to comment Share on other sites More sharing options...
skipwater Posted November 11, 2005 Share Posted November 11, 2005 Wow, awesome contribution! Especially since a brand newbie like me managed to install it. Anway, could someone tell me how to place the info box where I want. http://www.globeexterminators.com Please don't look at how much it sucks. It's just getting started. See how the box I titled "know more about" is placed at the bottom of all the other boxes? How eould I place it, say, right under the "categories" box?????? Thanks soooooooo much for any help in advance! In the file catalog/includes/column_left.php you will see the infoboxs listed just change the order in the list. Example: require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); // at bottom of list require(DIR_WS_BOXES . 'information.php'); // at top of list require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); Quote If only I could remember that. Link to comment Share on other sites More sharing options...
approachingsilence Posted November 14, 2005 Share Posted November 14, 2005 *sigh* I have read through the various support threads for this contrib, but I still can't seem to get rid of the "error: page title required" messages. I had this excellent contrib working on my old server. The difference with the new server is that the register_globals are turned off. So I am figuring that this is causing the errors. If so, does any one have an idea of how to work around that? I don't know enough about php to be able to work around it myself, so any help would be extremely appreciated. Of course any other tip or hints are appreciated as well. Wim Quote Link to comment Share on other sites More sharing options...
oldworldcharms Posted November 14, 2005 Share Posted November 14, 2005 I have this contribution installed but the link target doesnt work. Any ideas how to get this working? <?php echo '<a href="java script:popupImageWindow(\'' . FILENAME_POPUP_IMAGE . '?page=' . $pages['pages_id'] . '\')">' . tep_image(DIR_WS_IMAGES . 'icon_popup.gif', 'View Page') . '</a> ' . $pages['pages_title']; ?> thanks Elizabeth Quote Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2005 Share Posted November 15, 2005 Hi all, First of all I would like to say: great contribution! Second, when installed I have the following error messages: Page Manager Pages Page Type Sort Order Status Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/smallcra/public_html/test/catalog/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 18 Does any-one know how to solve this problem? Thanks in advance! Best regards Geeraard Hi All, Does any-one have a solution for the above problem? Thanks in advance Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
Guest Posted November 15, 2005 Share Posted November 15, 2005 I want to add the following to this problem: It seems it only ocurs when entering a new page. When there are no pages at all, I do not have the fault messages. Does it maybe conflict with the original info pages, which are still showing on my site? I have gone- over the complete extra_pages installation but could not locate any errors. Help :( Quote Link to comment Share on other sites More sharing options...
Lazze Lazer Posted November 20, 2005 Share Posted November 20, 2005 Hello, i have a problem with this contrib. i have only one language installed, and its not english. i can view the example data for the index and contact us pages, efter changing the spanishlanguage id to my own language id. but i can not edit any of these pages or add a new, because the error page title requreid pops out every time... i have a page title! why is it so? Lars Quote Link to comment Share on other sites More sharing options...
approachingsilence Posted November 23, 2005 Share Posted November 23, 2005 *sigh* I have read through the various support threads for this contrib, but I still can't seem to get rid of the "error: page title required" messages. I had this excellent contrib working on my old server. The difference with the new server is that the register_globals are turned off. So I am figuring that this is causing the errors. If so, does any one have an idea of how to work around that? I don't know enough about php to be able to work around it myself, so any help would be extremely appreciated. Of course any other tip or hints are appreciated as well. Wim Does anyone have a suggestion for this? Please? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 24, 2005 Share Posted November 24, 2005 Hi all, First of all I would like to say: great contribution! Second, when installed I have the following error messages: Page Manager Pages Page Type Sort Order Status Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/smallcra/public_html/test/catalog/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 18 Does any-one know how to solve this problem? Thanks in advance! Best regards Geeraard Hi all, Having studied this problem a bit further, I found out what the eror does: I am able to create an extra page, BUT I am unable to edit and/or remove an extra page. Maybe this helps in finding a solution? Any one? :wacko: Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
Guest Posted November 24, 2005 Share Posted November 24, 2005 Hi all, First of all I would like to say: great contribution! Second, when installed I have the following error messages: Page Manager Pages Page Type Sort Order Status Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/smallcra/public_html/test/catalog/admin/page_manager.php on line 591 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/smallcra/public_html/test/catalog/admin/includes/classes/object_info.php on line 18 Does any-one know how to solve this problem? Thanks in advance! Best regards Geeraard YES! :D I managed to solve the problem! For those of you who have the same problem, this is how I solved it: In page_manager.php go to line 591 and look for the below code: $bInfo_array = array_merge($pages, $info); $bInfo = new objectInfo($bInfo_array); Change $bInfo_array = array_merge($pages, $info); into $bInfo_array = array_merge($pages); This solved my problem completely! I am now able to create, edit and remove pages at will! B) ==================================================================== !!! BE SURE TO MAKE A BACKUP OF YOUR ORIGINAL FILES BEFORE YOU MAKE ANY CHANGES !!! !!! THE USE OF THIS SOLUTION IS AT YOUR OWN RISK !!! ==================================================================== I hope it helps you guys/ladies as well :) Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
Yari Posted November 24, 2005 Share Posted November 24, 2005 Yeahh.. this solved my problem too. Many thanks to you :thumbsup: Quote Link to comment Share on other sites More sharing options...
Guest Posted November 24, 2005 Share Posted November 24, 2005 Yeahh.. this solved my problem too. Many thanks to you :thumbsup: No thanks, glad I could help B) Best regards Geeraard Quote Link to comment Share on other sites More sharing options...
Lazze Lazer Posted November 26, 2005 Share Posted November 26, 2005 hmmm, it did not solve my problem. i still get the Error: Page title required. Lars Quote Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2005 Share Posted November 26, 2005 hmmm, it did not solve my problem. i still get the Error: Page title required. Lars Lars, When exactly do you get this error? Rgds Geeraard Quote Link to comment Share on other sites More sharing options...
Lazze Lazer Posted November 27, 2005 Share Posted November 27, 2005 when trying to edit and update index or contact us page. OR when trying to save a new page. Quote Link to comment Share on other sites More sharing options...
khoking Posted December 16, 2005 Share Posted December 16, 2005 After installing the contribution v4.3, I now have problems with my admin. There are wordings like: BOX_HEADING_CONFIGURATION BOX_HEADING_CATALOG BOX_HEADING_MODULES BOX_HEADING_CUSTOMERS BOX_HEADING_LOCATION_AND_TAXES BOX_HEADING_LOCALIZATION BOX_HEADING_REPORTS BOX_HEADING_TOOLS BOX_TOOLS_BACKUP BOX_TOOLS_BANNER_MANAGER BOX_TOOLS_CACHE BOX_TOOLS_DEFINE_LANGUAGE Page Manager BOX_TOOLS_FILE_MANAGER BOX_TOOLS_MAIL BOX_TOOLS_NEWSLETTER_MANAGER BOX_TOOLS_SERVER_INFO BOX_TOOLS_WHOS_ONLINE Can anyone help me how to throw away the extra BOX? I am a newbie to oscommerce...thanks very much in advance for the help! Quote Best regards, Koh Kho King Link to comment Share on other sites More sharing options...
khoking Posted December 16, 2005 Share Posted December 16, 2005 Sorry...another question. All I want to do is to add an info box on the left column of my accepted payment method, with a small picture (credit card image) on it. Am I on the right track installing this contribution? I notice that the extra box created is having title as Information...and now I have TWO Information boxes on the left column... How do I change the name of the Information to something like Payment MEthod? Quote Best regards, Koh Kho King Link to comment Share on other sites More sharing options...
deejayh Posted December 16, 2005 Share Posted December 16, 2005 (edited) Hi, Sorry to say that I have an issue with the mod, where if there are contents in the cart and you click on any info_pages, the contents of the cart are lost! The link (when hovered over -status bar) looks correct with: www.site./info_pages.php?pages_id=4?osCsid=f0d6bcf98f7e480697cdf9e04bb81f7b - BUT cart empties. www.site./privacy.php?osCsid=f0d6bcf98f7e480697cdf9e04bb81f7b to privacy (normal link) Can someone please help, :) Many thanks, Dave Edited December 16, 2005 by deejayh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.