Forum Replies Created
-
AuthorPosts
-
October 1, 2013 at 6:04 am #1597
Two php 5.4.x problems.
1. From another thread:
Warning: Illegal string offset ‘address’ in <>/wp-content/themes/symbiostock/inc/classes/network-manager/network-manager.php on line 431
on /wp-admin/admin.php?page=symbiostock-control-options page
And this thing reappears every time I tick ‘Update public network info’ and click ‘Save Changes’. (I thought that was faulty card, deleted that, re-added – no matter what) I am getting this warnings.
2. White screen while file downloading.
Fix is needed in wp-content/symbiostock_file_download.php (it is copied there from symbiostock/inc/classes/image-processor).
Problem is in line 40if ( isset( $user_products[ intval($file_and_selection[ 0 ]) ] [ 'size_name' ][ $file_and_selection[ 1 ] ] ) ) {
There was some changes is php and in 5.4 (info from php.net):
5.4.0 Checking non-numeric offsets of strings now returns FALSE
Maybe this is also the reason of first problem.
My temporary fix (works in 5.4) to 2nd problem is line 40 changed to
if ( $user_products[ $file_and_selection[ 0 ] ][ 'size_name' ] == $file_and_selection[ 1 ] ) {
but maybe something different would be better 🙂
September 30, 2013 at 7:57 am #3555Maybe you have in network buyillustrations.net or semmickphoto.com? They still have Symbio 2.6.4 installed, with buggy symbiocard.
September 29, 2013 at 12:51 pm #3543I wrote about it several times, but it seems that it is Wodpress feature 🙂
When you are logged in as admin, you see images as in above example, but other user (not admin) and someone not logged in doen’t see anything. Log out and click on thumbnail 🙂
And when you are publishing that new image, title is changing itself to something with -2, -3 etc, so you do not have to change it manually. Just remember not to leave for longer time draft images with titles identical to already published.September 29, 2013 at 7:41 am #1577This time there was upgrade notice (in my test site with 2.6.8 installed). In 2.6.5 wasn’t.
Is somewhere an option to show admin bar, when user is logged in?September 27, 2013 at 7:04 pm #34691. Earlier error (that with ajt_ and & character) was specific to php 5.4
To be sure, what php version you have, create file with
< ?php
phpinfo();
?>and put it in root folder. Then call your_site/info.php
2. If buttons have extra info, there are still php file you edited…
September 26, 2013 at 9:16 pm #3158This file contains functions for network communication, symbiocards and search, nothing that could hurt database or other important things 🙂
September 26, 2013 at 8:38 pm #3156@jsnover wrote:
Fatal error: Call-time pass-by-reference has been removed in /home5/digitdt6/public_html/blog/wp-content/themes/symbiostock/inc/classes/network-manager/network-manager.php on line 1648
Given the editing I did added a comment line, your line numbers won’t be the same, but here’s the line of code in my edits that this referred to:
ajt_network_search_all( & $query_list, $this );
Where did you get that network-manager.php from?
This bug was in Symbio 2.5.6 and earlier. Error in line 1648 was fixed in version 2.5.7 in July ( & was removed).September 25, 2013 at 1:40 pm #3190I have to precise what I meant writing “for plrangs plugin”. Now it is, because only this plugin utilizes this info. In future there will be another plugins, Symbio hubs and maybe statistics mainstained by Cascoly. All of them would use that data. It is info for you, who is performing network search, leading to your site. For example, when site abc.com has your site in network, and someone is searching there for something, that site displays results from your site. Then, if that person clicks on your thumbnail there, he lands on your site with that r=abc.com. Then you (or plugins/stats you can have) will now, which site your visitor cames from.
And that other site doesn’t know, if its network partners utilize this info (if they have plugins like plrang’s for this or not), so it is appended for every network search.
As I said above, removing “http://” from it resolves all reported issues.September 25, 2013 at 12:20 pm #3189It is not from plrang plugin, I would say, that it is mainly *for* this plugin. Some hosting configurations have problem with that “r=”, looking like valid url after it.
Leo: maybe would be better to delete http:// from it, leaving only site address. I’ve tested it and it is ok in stompstock.
September 25, 2013 at 11:11 am #3188It is not global search fault, but problem in stompstock site with “?r=http://……” appended to url.
September 25, 2013 at 10:36 am #1524@jsfoto wrote:
Changing the registration is crucial for me (and others from Germany and perhaps other countries too).
Yes, collecting all info is important in all EU countries for vat purposes. From business person we should also get vat id, if this person is from our or other EU country.
September 25, 2013 at 10:05 am #1522@christine wrote:
I do not like to be negative after all your work but after trying out 2.6.8 on my testing site I find I very much prefer the header and layout I have now as it has taken me a long time working out how to get it how I like it – and nothing flashes at me :), will you be able to offer a third option please ?
Top Anchored | Below Header | No Change
I second that. I also installed 2.6.8 on my test site. No child theme installed, no css customization, just 2.6.8 out of the box.
All stuff is crowded now in left corner (with “below header” selected), there is no admin bar above after logging in.When I choose “top anchored”, every items are even closer each other and they are covering site logo 🙂
http://ajotte.com/symbiotest/Edit: after testing options in theme customization it looks better, but “No Change” option would be great 🙂
September 25, 2013 at 8:21 am #3153@leo wrote:
/wp-content/themes/symbiostock/inc/classes/networkmanager/network-manager.php
Scroll to bottom of file…
In the final function, look for the line that says symbiostock_save_image_list_info( );
Delete that.
There is also the_spider call, it fetches symbiocards from “friends and friends of friends” and often needs much more time than saving image list.
I would also comment out line
$spider_network->the_spider();
but not both lines in the same time. First comment out (or delete) symbiostock_save_image_list_info( );
wait for results, then restore this line, delete $spider_network->the_spider(); and watch results again 🙂And question for persons with throttling peak issue:
Is is related to time you get email “[symbiostock_network_update] Site has updated image and network” from you sites?
September 25, 2013 at 7:32 am #3178You can try to disable network for few hours and compare results. Our sites are visited very often by bots (crawlers from Google and many other search engines). Every time bot is visiting site (and searching for keyword), site performs also network search and this is consuming much time. This function, I mean network search during crawler visits, can be disabled in future version. Maybe it would hurt SEO a bit and maybe not, because most important for SEO is image pages indexing.
XML cache helps to reduce CPU time used for waiting for network results. Maybe you have set too short time – go to Bee->Network page and enter at least 14 (better 20-30) in “days cache network search”. Result should be seen after a week or more.September 24, 2013 at 5:33 am #3089Number of promoted sites in search page is limited to 5, so there can be no more than 15 sites (10 from “regular” network and 5 promoted).
-
AuthorPosts