Jump to content
Hugo RSF

Contribution Issue

Recommended Posts

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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :(

Share this post


Link to post
Share on other sites

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,


Regards,

Clive

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites
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');


If only I could remember that.

Share this post


Link to post
Share on other sites

*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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 :(

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
*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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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!


Best regards,

Koh Kho King

Share this post


Link to post
Share on other sites

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?


Best regards,

Koh Kho King

Share this post


Link to post
Share on other sites

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 by deejayh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×